azureblog.co.uk
← cd ~/roles
// roles/azure · storage

Backup MUA AdminAzure built-in role

Backup MultiUser-Authorization. Can create/delete ResourceGuard

Role IDc2a970b4-16a7-4a51-8c84-8a8ea6ee0bb8
CategoryStorage
Actions26
Data actions0

What it can do

PermissionWhat it allows
Microsoft.DataProtection/*/readAny read operation on anything under Microsoft.DataProtection
Microsoft.DataProtection/*/resourceGuards/writeEvery operation matching Microsoft.DataProtection/*/resourceGuards/write
Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/writeCreate ResourceGuard operation creates an Azure resource of type 'ResourceGuard'
Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/deleteThe Delete ResourceGuard operation deletes the specified Azure resource of type 'ResourceGuard'
Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/readThe Get ResourceGuard operation gets an object representing the Azure resource of type 'ResourceGuard'
Microsoft.DataProtection/locations/operationResults/readReturns Backup Operation Result for Backup Vault.
Microsoft.DataProtection/locations/operationStatus/readReturns Backup Operation Status for Backup Vault.
Microsoft.DataProtection/locations/getBackupStatus/actionCheck Backup Status for Recovery Services Vaults
Microsoft.DataProtection/locations/checkFeatureSupport/actionValidates if a feature is supported
Microsoft.DataProtection/subscriptions/resourceGroups/providers/locations/operationStatus/readReturns Backup Operation Status for Backup Vault.
Microsoft.Authorization/*/readAny read operation on anything under Microsoft.Authorization
Microsoft.Features/features/readGets the features of a subscription.
Microsoft.Features/providers/features/readGets the feature of a subscription in a given resource provider.
Microsoft.ResourceHealth/availabilityStatuses/readGets the availability statuses for all resources in the specified scope
Microsoft.Resources/deployments/operations/readGets or lists deployment operations.
Microsoft.Resources/subscriptions/operationresults/readGet the subscription operation results.
Microsoft.Resources/subscriptions/readGets the list of subscriptions.
Microsoft.Resources/subscriptions/resourcegroups/deployments/*Every operation under Microsoft.Resources/subscriptions/resourcegroups/deployments
Microsoft.Resources/subscriptions/resourceGroups/readGets or lists resource groups.
Microsoft.Resources/deployments/*Every operation under Microsoft.Resources/deployments
Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/readGet the list of ResourceGuard proxies for a resource
Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/writeCreate ResourceGuard proxy operation creates an Azure resource of type 'ResourceGuard Proxy'
Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/deleteThe Delete ResourceGuard proxy operation deletes the specified Azure resource of type 'ResourceGuard proxy'
Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/unlockDelete/actionUnlock delete ResourceGuard proxy operation unlocks the next delete critical operation
Microsoft.DataProtection/subscriptions/providers/resourceGuards/readGets list of ResourceGuards in a Subscription
Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/{operationName}/readGets ResourceGuard operation request info

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 "Backup MUA Admin" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Backup MUA Admin" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, 'c2a970b4-16a7-4a51-8c84-8a8ea6ee0bb8')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'c2a970b4-16a7-4a51-8c84-8a8ea6ee0bb8')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "c2a970b4-16a7-4a51-8c84-8a8ea6ee0bb8"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other storage roles

Find the smallest role for a task →