← cd ~/roles
// roles/azure · hybrid-multicloud
Azure Stack Registration OwnerAzure built-in role
Lets you manage Azure Stack registrations.
| Role ID | 6f12a6df-dd06-4f3e-bcb1-ce8be600526a |
|---|---|
| Category | Hybrid-multicloud |
| Actions | 4 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.AzureStack/edgeSubscriptions/read | |
Microsoft.AzureStack/registrations/products/*/action | Any action on anything under Microsoft.AzureStack/registrations/products |
Microsoft.AzureStack/registrations/products/read | Gets the properties of an Azure Stack Marketplace product |
Microsoft.AzureStack/registrations/read | Gets the properties of an Azure Stack registration |
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 "Azure Stack Registration Owner" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "Azure Stack Registration Owner" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, '6f12a6df-dd06-4f3e-bcb1-ce8be600526a')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '6f12a6df-dd06-4f3e-bcb1-ce8be600526a')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "6f12a6df-dd06-4f3e-bcb1-ce8be600526a"
| 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 HCI Connected InfraVMs · 7 permissions
- Arc Gateway Manager · 9 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