azureblog.co.uk
← cd ~/roles
// roles/azure · hybrid-multicloud

Arc Gateway ManagerAzure built-in role

Manage Arc Gateway Resources

Role IDf6e92014-8af2-414d-9948-9b1abf559285
CategoryHybrid-multicloud
Actions9
Data actions0

What it can do

PermissionWhat it allows
Microsoft.HybridCompute/settings/writeWrites an Azure Arc settings
Microsoft.HybridCompute/settings/readReads any Azure Arc settings
Microsoft.HybridCompute/gateways/readReads any Azure Arc gateways
Microsoft.HybridCompute/gateways/writeWrites an Azure Arc gateways
Microsoft.HybridCompute/gateways/deleteDeletes an Azure Arc gateways
Microsoft.Authorization/*/readAny read operation on anything under Microsoft.Authorization
Microsoft.Insights/alertRules/*Every operation under Microsoft.Insights/alertRules
Microsoft.Resources/deployments/*Every operation under Microsoft.Resources/deployments
Microsoft.Resources/subscriptions/resourceGroups/readGets or lists resource groups.

Assign it

Scope it as tightly as you can: a resource or resource group rather than the whole subscription.

azure cli
az role assignment create \
  --assignee "jane.doe@contoso.com" \
  --role "Arc Gateway Manager" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Arc Gateway Manager" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, 'f6e92014-8af2-414d-9948-9b1abf559285')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'f6e92014-8af2-414d-9948-9b1abf559285')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "f6e92014-8af2-414d-9948-9b1abf559285"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other hybrid-multicloud roles

Find the smallest role for a task →