|
| 1 | +--- |
| 2 | +title: Quickstart to prepare Azure accounts using built-in roles for Azure Migrate |
| 3 | +description: In this quickstart, you learn how to set up Azure Role-based access control for Azure Migrate projects |
| 4 | +author: molishv |
| 5 | +ms.author: molir |
| 6 | +ms.service: azure-migrate |
| 7 | +ms.topic: how-to |
| 8 | +ms.date: 11/4/2025 |
| 9 | +ms.custom: engagement-fy25 |
| 10 | +# Customer intent: "As a cloud architect, I want to prepare Azure accounts and assign Azure Migrate built-in roles to provide secure, least-privileged access for Azure Migrate projects". |
| 11 | +--- |
| 12 | + |
| 13 | +# Prepare Azure accounts for Azure Migrate using built-in roles |
| 14 | + |
| 15 | +Azure Migrate is a unified migration platform that lets customers discover, assess, and migrate various workloads including servers, databases, and web apps. A typical customer's migration journey includes three [phases](migrate-services-overview.md#migration-phases): the Decide phase to discover the workloads, plan phase to assess the Azure readiness of workloads, right size the Azure targets and execute phase to migrate and modernize the workloads. The article explains how to implement Azure Role-based access control to grant least privileged Azure access in Azure Migrate using built-in roles. The built-in roles are purposefully mapped to the Decide, Plan, and Execute phases, so users have only the permissions needed for that phase of the migration journey. |
| 16 | + |
| 17 | +Using built-in roles enables you to enforce the principle of least privilege, grant granular access, and ensure compliance with regulatory requirements. Assigning built-in roles is recommended over granting broad Owner or Contributor access to users at the subscription or resource group level. |
| 18 | + |
| 19 | +## Azure Migrate built-in roles |
| 20 | + |
| 21 | +| S.no. | Built-in role | Description | ID | Scope | |
| 22 | +|-------|---------------|-------------|-----|-------| |
| 23 | +| 1 | Azure Migrate Owner | Grants **full access** to **create** and manage **Azure Migrate projects**, including appliance or import based discovery, creation of business case, assessment and execution of migrations; Also grants the ability to assign Azure Migrate specific roles in Azure Role-Based Access Control (or RBAC). | fd8ea4d5-6509-4db0-bada-356ab233b4fa | Scope is Resource Group or subscription where **Azure Migrate Project is created**. | |
| 24 | +| 2 | Azure Migrate Decide and Plan Expert | Grants **restricted access on an Azure Migrate project** to only **perform planning operations** including appliance or import-based discovery, managing inventory, identifying server dependencies, creation of business case, applications & assessment reports. | 7859c0b0-0bb9-4994-bd12-cd529af7d646 | Scope is Resource Group or subscription where **Azure Migrate Project is created**. | |
| 25 | +| 3 | Azure Migrate Execute Expert | Grants **restricted access on an Azure Migrate project** to only perform **migration related operations**, including replication, execution of test migrations, tracking and monitoring of migration progress, and initiation of agentless and agent-based migrations. | 1cfa4eac-9a23-481c-a793-bfb6958e836b | Source Resource Group or subscription where Azure Migrate Project is created; **Target Resource Group or subscription** where servers and workloads are migrated to. | |
| 26 | + |
| 27 | +## Azure Migrate Owner |
| 28 | +The Azure Migrate Owner role provides a superset of permissions to perform end-to-end operations across all migration phases (Decide, Plan, and Execute). A user must be part of Azure Migrate Owner or a higher privileged role to create an Azure Migrate project. |
| 29 | +### Scope |
| 30 | +The resource group or subscription where the Azure Migrate project is created. |
| 31 | + |
| 32 | +### Role assignment |
| 33 | +Users with the Azure Migrate Owner role can assign or remove the **Azure Migrate Decide and Plan Expert and Azure Migrate Execute Expert roles** for other users or groups. The role doesn't grant permissions to assign or remove non-Azure Migrate built-in roles. |
| 34 | +## Azure Migrate Decide and Plan Expert |
| 35 | +The Azure Migrate Decide and Plan Expert role provides limited permissions to perform scoped operations in the Decide and Plan phases. The role includes permissions to discover IT estate using an appliance or inventory import, manage & review discovered inventory, identify server dependencies, create business case, waves, and assessment reports. The role doesn't grant permissions to create Migrate project or perform role assignments. |
| 36 | +### Scope |
| 37 | +The resource group or subscription where the Azure Migrate project is created. |
| 38 | +## Azure Migrate Execute Expert |
| 39 | +The Azure Migrate Execute Expert role provides limited permissions to only perform scoped operations in the Execute phase of migration journey. The role includes permissions to perform migration related operations including replication, execute waves, execute test migrations, execute agentless and agent-based migrations and track and monitor the progress of migrations.The role doesn't grant permissions to create Migrate project or perform role assignments. |
| 40 | +### Scope |
| 41 | +The source resource group or subscription where the Azure Migrate project is set up. |
| 42 | +If the migration target is in a different resource group or subscription, assign the role in the target resource group or subscription where the servers and workloads are migrated to. |
| 43 | +## Operations allowed per user role |
| 44 | + |
| 45 | +| Operations | Azure Migrate Owner | Azure Migrate Decide and Plan Expert | Azure Migrate Execute Expert | |
| 46 | +|------------|---------------------|-----------------------------------|------------------------------| |
| 47 | +| Create, manage, and delete a Migrate project | Yes | No | No | |
| 48 | +| Generate project key | Yes | Yes | No | |
| 49 | +| Deploy VMware, Hyper-V, physical, or Azure Site Recovery appliance for discovery | Yes | Yes | No | |
| 50 | +| Register Migrate appliance* | Yes | Yes | No | |
| 51 | +| Use Inventory import for discovery | Yes | Yes | No | |
| 52 | +| Explore inventory | Yes | Yes | Yes | |
| 53 | +| View, add & import tags | Yes | Yes | Yes | |
| 54 | +| View and export server dependencies | Yes | Yes | Yes | |
| 55 | +| View security insights | Yes | Yes | No | |
| 56 | +| Create business case | Yes | Yes | No | |
| 57 | +| View and export business case | Yes | Yes | Yes | |
| 58 | +| Create assessment reports | Yes | Yes | No | |
| 59 | +| View and export assessment reports | Yes | Yes | Yes | |
| 60 | +| Create waves | Yes | Yes | Yes | |
| 61 | +| View and manage waves | Yes | Yes | Yes | |
| 62 | +| Execute waves | Yes | No | Yes | |
| 63 | +| Execute replications | Yes | No | Yes | |
| 64 | +| Test migrations | Yes | No | Yes | |
| 65 | +| Perform agentless and agent-based migrations | Yes | No | Yes | |
| 66 | +| Create support incidents | Yes | Yes | Yes | |
| 67 | + |
| 68 | +> [!Note] |
| 69 | +> To register an Azure Migrate appliance or an ASR replication appliance users must have additional [Application Developer role](../active-directory/roles/permissions-reference.md#application-developer) at Microsoft Entra ID level. |
| 70 | +## Role assignment and access management |
| 71 | +In this section, you learn how to grant access to users by assigning Azure Migrate built-in roles. A subscription or resource group Owner can assign the Azure Migrate Owner role to the user who creates and manages the Azure Migrate project. Users with the Azure Migrate Owner role can then assign the Azure Migrate Decide and Plan Expert and Azure Migrate Execute Expert roles to other users or user groups. |
| 72 | +### Assigning Azure Migrate Owner |
| 73 | +1. Select the resource group where the Migrate project is created. |
| 74 | +2. In the navigation menu, select Access control (IAM) |
| 75 | +3. Select Add > Add role assignment |
| 76 | +:::image type="content" source="./media/prepare-azure-accounts/add-role-assignment.png" alt-text="Azure portal Access control IAM page showing the Add role assignment button highlighted in red rectangle, with navigation breadcrumb showing Home > Resource Manager > Resource groups > MigrateProjectName." lightbox="./media/prepare-azure-accounts/add-role-assignment.png"::: |
| 77 | +4. On the privileged administrator roles tab, select Azure Migrate Owner role. |
| 78 | +5. On the members tab, select the user or group. |
| 79 | +6. Select the preferred assignment type and duration. The recommended approach is to choose eligible type and time-bound assignment duration. |
| 80 | +7. Select next and review + assign to complete the role assignment. |
| 81 | +### Assigning Decide and Plan Expert and Execute Expert role |
| 82 | +An Azure Migrate Owner can assign the roles **Azure Migrate Decide and Plan Expert** and **Azure Migrate Execute Expert** to a user. |
| 83 | +1. Select the resource group where the Migrate project is set up. |
| 84 | +2. In the navigation menu, select Access control (IAM) |
| 85 | +3. Select Add > Add role assignment |
| 86 | +4. Select the role you want to assign. The Azure Migrate Decide and Plan Expert role and Azure Migrate Execute Expert role appear under Job function roles. |
| 87 | +:::image type="content" source="./media/prepare-azure-accounts/role-assignment-decide-plan-expert.png" alt-text="Azure portal Add role assignment page displaying Job function roles tab with Azure Migrate Decide and Plan Expert role highlighted in red rectangle.Text indicates this role grants restricted access on Azure Migrate project to only perform planning operations including appliance or import-based discovery, managing inventory, identifying server dependencies, creation of business case and assessment reports." lightbox="./media/prepare-azure-accounts/role-assignment-decide-plan-expert.png"::: |
| 88 | +:::image type="content" source="./media/prepare-azure-accounts/role-assignment-execute-expert.png" alt-text="Azure portal Add role assignment page displaying Job function roles tab with Azure Migrate Execute Expert role highlighted in red rectangle. Text indicates this role grants restricted access on Azure Migrate project to only perform migration related operations including replication, execution of test migrations, tracking and monitoring of migration progress, and initiation of agentless and agent-based migrations." lightbox="./media/prepare-azure-accounts/role-assignment-execute-expert.png"::: |
| 89 | + |
| 90 | +5. After selecting the role, on the members tab, select the user or group. |
| 91 | +6. Select the preferred assignment type and duration. The recommended approach is to choose eligible type and time-bound assignment duration. |
| 92 | +7. Select next and review + assign to complete the role assignment. |
| 93 | +### Check access and verify Role assignment |
| 94 | +Follow these steps to check your access |
| 95 | +1. From the resource group/subscription, select Access control (IAM) and view my access. |
| 96 | +2. Verify if the role assignment is successful. |
| 97 | +:::image type="content" source="./media/prepare-azure-accounts/view-my-access.png" alt-text="Azure portal Access control IAM interface showing the Check access section on the left side with a blue View my access button highlighted." lightbox="./media/prepare-azure-accounts/view-my-access.png"::: |
| 98 | +3. To check access for a user or group, select check access. Enter the user or group details and verify role assignment. |
| 99 | + |
| 100 | +### Remove access |
| 101 | +1. Azure Migrate owner can only remove Azure Migrate Decide and Plan Expert and Azure Migrate Execute Expert role assignments. Subscription or resource group owners can remove the Azure Migrate owner role assignment. |
| 102 | +2. Open Access control (IAM) at scope subscription or resource group. |
| 103 | +3. Select role assignments |
| 104 | +4. Select the role assignment that you would like to remove |
| 105 | +:::image type="content" source="./media/prepare-azure-accounts/remove-access.png" alt-text="Azure portal Access control IAM page showing role assignments table with a selected user row highlighted in blue and a red Delete button prominently displayed in the top toolbar, demonstrating the process to remove role assignments from users in the resource management interface." lightbox="./media/prepare-azure-accounts/remove-access.png"::: |
| 106 | +5. Select Delete to remove the role assignment. |
| 107 | +## Guidance for role assignments at the resource group scope |
| 108 | +We recommend performing role assignments at resource group to operate in a least privilege access model. Note the following scenarios when role assignments are done at the resource group scope. |
| 109 | +### 1. Register the Resource providers in advance |
| 110 | +To enable all Azure Migrate capabilities, you must register the required resource providers at the subscription where the Azure Migrate project is created. The Azure Migrate Owner and Azure Migrate Decide and Plan Expert roles have permissions to automatically register resource providers if the role assignment is done at the subscription scope. However, if these roles are assigned at the resource group level, project key generation could fail if the resource provider isn't already registered on the subscription. In such cases, the subscription owner should manually register the listed resource providers as a prerequisite. |
| 111 | + |
| 112 | +## Required Resource Providers |
| 113 | + |
| 114 | +| Resource Provider | |
| 115 | +|-------------------| |
| 116 | +| Microsoft.OffAzure | |
| 117 | +| Microsoft.Migrate | |
| 118 | +| Microsoft.MySQLDiscovery | |
| 119 | +| Microsoft.DependencyMap | |
| 120 | +| Microsoft.ApplicationMigration | |
| 121 | +| Microsoft.Insights | |
| 122 | +| Microsoft.KeyVault | |
| 123 | +| Microsoft.HybridCompute | |
| 124 | +| Microsoft.Storage | |
| 125 | +| Microsoft.Network | |
| 126 | +| Microsoft.GuestConfiguration | |
| 127 | +| Microsoft.Compute | |
| 128 | +| Microsoft.HybridConnectivity | |
| 129 | +| Microsoft.RecoveryServices | |
| 130 | +| Microsoft.DataReplication | |
| 131 | +| Microsoft.AzureArcData | |
| 132 | + |
| 133 | +For more information, see [register resource provider](../azure-resource-manager/management/resource-providers-and-types.md#register-resource-provider). |
| 134 | +### 2. Support requests |
| 135 | +If the role assignment is done at resource group scope, users can't create support requests. |
| 136 | +### 3. Registration of Azure Site Recovery Replication appliance |
| 137 | +If you assign the role at the resource group scope, users can't register the Azure Site Recovery replication appliance. To register the appliance, you must assign the Azure Migrate Decide and Plan Expert role at the subscription scope. This restriction applies only to the Azure Site Recovery appliance, not to the VMware, Hyper-V, or physical stacks of the Azure Migrate appliance. |
| 138 | + |
| 139 | +## Next steps |
| 140 | + |
| 141 | +After setting up Azure accounts and role assignments, [create an Azure Migrate project](quickstart-create-project.md) |
0 commit comments