Migrate Arc Discovery Reader - PreviewAzure built-in role
Read metadata of Azure Arc enabled server resources and metadata, performance and migration suitability of Arc enabled SQL server resources. Users creating Azure Migrate project that uses Arc resource discovery require this role on Arc scope of the project. To enable periodic sync, Azure Migrate project managed identity must be assigned this role. This role is in preview and subject to change.
Medium risk. It can create, change or delete some resources in scope.
In short: Migrate Arc Discovery Reader - Preview is an Azure built-in role with 8 actions.
| Role ID | 5d5dddae-e124-4753-972d-aae60b37deb4 |
|---|---|
| Category | Migration |
| Actions | 8 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.Resources/subscriptions/resourceGroups/read | Gets or lists resource groups. |
Microsoft.AzureArcData/sqlServerInstances/read | |
Microsoft.AzureArcData/sqlServerInstances/databases/read | |
Microsoft.AzureArcData/sqlServerInstances/availabilityGroups/read | |
Microsoft.AzureArcData/sqlServerInstances/getTelemetry/action | |
Microsoft.AzureArcData/sqlServerInstances/availabilityGroups/getDetailView/action | |
Microsoft.HybridCompute/machines/read | Read any Azure Arc machines |
Microsoft.HybridCompute/machines/extensions/read | Reads any Azure Arc extensions |
Assign it
Scope it as tightly as you can: a resource or resource group rather than the whole subscription.
az role assignment create \
--assignee "jane.doe@contoso.com" \
--role "Migrate Arc Discovery Reader - Preview" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "Migrate Arc Discovery Reader - Preview" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"What each line does
- Line 1: Creates a role assignment in Azure. Makes a change.
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, '5d5dddae-e124-4753-972d-aae60b37deb4')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '5d5dddae-e124-4753-972d-aae60b37deb4')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "5d5dddae-e124-4753-972d-aae60b37deb4"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)Other migration roles
- Azure Migrate Service Reader · 11 permissions
- Azure Local Migrate Execute Expert · 40 permissions
- Azure Migrate Execute Expert · 45 permissions
- Azure Migrate Decide and Plan Expert · 51 permissions
- Azure Local Migrate Owner · 64 permissions
- Azure Migrate Owner · 68 permissions
Find the smallest role for a task →
Link to this page
Writing a guide or answering a question? Copy this link.
<a href="https://azureblog.co.uk/roles/azure/migrate-arc-discovery-reader-preview/">Migrate Arc Discovery Reader - Preview Azure role explained</a>Spotted something out of date or wrong? Tell us and we'll fix it.