← cd ~/roles
// roles/azure · hybrid-multicloud
Azure Stack HCI Connected InfraVMsAzure built-in role
Role of Arc Integration for Azure Stack HCI Infrastructure Virtual Machines.
| Role ID | c99c945f-8bd1-4fb1-a903-01460aae6068 |
|---|---|
| Category | Hybrid-multicloud |
| Actions | 7 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.HybridCompute/*/read | Any read operation on anything under Microsoft.HybridCompute |
Microsoft.HybridCompute/machines/write | Writes an Azure Arc machines |
Microsoft.HybridCompute/machines/delete | Deletes an Azure Arc machines |
Microsoft.HybridCompute/machines/extensions/read | Reads any Azure Arc extensions |
Microsoft.HybridCompute/machines/extensions/write | Installs or Updates an Azure Arc extensions |
Microsoft.HybridCompute/machines/extensions/delete | Deletes an Azure Arc extensions |
Microsoft.HybridCompute/machines/UpgradeExtensions/action | Upgrades Extensions on Azure Arc machines |
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 HCI Connected InfraVMs" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "Azure Stack HCI Connected InfraVMs" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, 'c99c945f-8bd1-4fb1-a903-01460aae6068')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'c99c945f-8bd1-4fb1-a903-01460aae6068')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "c99c945f-8bd1-4fb1-a903-01460aae6068"
| 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
- 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