← cd ~/roles
// roles/azure · hybrid-multicloud
Arc Gateway ManagerAzure built-in role
Manage Arc Gateway Resources
| Role ID | f6e92014-8af2-414d-9948-9b1abf559285 |
|---|---|
| Category | Hybrid-multicloud |
| Actions | 9 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.HybridCompute/settings/write | Writes an Azure Arc settings |
Microsoft.HybridCompute/settings/read | Reads any Azure Arc settings |
Microsoft.HybridCompute/gateways/read | Reads any Azure Arc gateways |
Microsoft.HybridCompute/gateways/write | Writes an Azure Arc gateways |
Microsoft.HybridCompute/gateways/delete | Deletes an Azure Arc gateways |
Microsoft.Authorization/*/read | Any 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/read | Gets or lists resource groups. |
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 "Arc Gateway Manager" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "Arc Gateway Manager" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"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?
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
- Hybrid Server Resource Administrator · 2 permissions
- Azure Stack Registration Owner · 4 permissions
- Azure Stack HCI Connected InfraVMs · 7 permissions
- Azure Arc ScVmm Private Clouds Onboarding · 30 permissions
- Azure Arc ScVmm Private Cloud User · 34 permissions
- Azure Resource Bridge Deployment Role · 36 permissions
- Azure Stack HCI Device Management Role · 37 permissions
- Azure Stack HCI VM Reader · 42 permissions