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

Backup ContributorAzure built-in role

Lets you manage backups, but can't delete vaults and give access to others

Role ID5e467623-bb1f-42f4-a55d-6e525e11384b
CategoryStorage
Actions84
Data actions0

What it can do

PermissionWhat it allows
Microsoft.Authorization/*/readAny read operation on anything under Microsoft.Authorization
Microsoft.Network/virtualNetworks/readGet the virtual network definition
Microsoft.RecoveryServices/locations/*Every operation under Microsoft.RecoveryServices/locations
Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults/*Every operation under Microsoft.RecoveryServices/Vaults/backupFabrics/operationResults
Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/*Every operation under Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers
Microsoft.RecoveryServices/Vaults/backupFabrics/refreshContainers/actionRefreshes the container list
Microsoft.RecoveryServices/Vaults/backupJobs/*Every operation under Microsoft.RecoveryServices/Vaults/backupJobs
Microsoft.RecoveryServices/Vaults/backupJobsExport/actionExport Jobs
Microsoft.RecoveryServices/Vaults/backupOperationResults/*Every operation under Microsoft.RecoveryServices/Vaults/backupOperationResults
Microsoft.RecoveryServices/Vaults/backupPolicies/*Every operation under Microsoft.RecoveryServices/Vaults/backupPolicies
Microsoft.RecoveryServices/Vaults/backupProtectableItems/*Every operation under Microsoft.RecoveryServices/Vaults/backupProtectableItems
Microsoft.RecoveryServices/Vaults/backupProtectedItems/*Every operation under Microsoft.RecoveryServices/Vaults/backupProtectedItems
Microsoft.RecoveryServices/Vaults/backupProtectionContainers/*Every operation under Microsoft.RecoveryServices/Vaults/backupProtectionContainers
Microsoft.RecoveryServices/Vaults/backupSecurityPIN/*Every operation under Microsoft.RecoveryServices/Vaults/backupSecurityPIN
Microsoft.RecoveryServices/Vaults/backupUsageSummaries/readReturns summaries for Protected Items and Protected Servers for a Recovery Services .
Microsoft.RecoveryServices/Vaults/certificates/*Every operation under Microsoft.RecoveryServices/Vaults/certificates
Microsoft.RecoveryServices/Vaults/extendedInformation/*Every operation under Microsoft.RecoveryServices/Vaults/extendedInformation
Microsoft.RecoveryServices/Vaults/monitoringAlerts/readGets the alerts for the Recovery services vault.
Microsoft.RecoveryServices/Vaults/monitoringConfigurations/*Every operation under Microsoft.RecoveryServices/Vaults/monitoringConfigurations
Microsoft.RecoveryServices/Vaults/readThe Get Vault operation gets an object representing the Azure resource of type 'vault'
Microsoft.RecoveryServices/Vaults/registeredIdentities/*Every operation under Microsoft.RecoveryServices/Vaults/registeredIdentities
Microsoft.RecoveryServices/Vaults/usages/*Every operation under Microsoft.RecoveryServices/Vaults/usages
Microsoft.Resources/deployments/*Every operation under Microsoft.Resources/deployments
Microsoft.Resources/subscriptions/resourceGroups/readGets or lists resource groups.
Microsoft.Storage/storageAccounts/readReturns the list of storage accounts or gets the properties for the specified storage account.
Microsoft.RecoveryServices/Vaults/backupstorageconfig/*Every operation under Microsoft.RecoveryServices/Vaults/backupstorageconfig
Microsoft.RecoveryServices/Vaults/backupconfig/*Every operation under Microsoft.RecoveryServices/Vaults/backupconfig
Microsoft.RecoveryServices/Vaults/backupValidateOperation/actionValidate Operation on Protected Item
Microsoft.RecoveryServices/Vaults/writeCreate Vault operation creates an Azure resource of type 'vault'
Microsoft.RecoveryServices/Vaults/backupOperations/readReturns Backup Operation Status for Recovery Services Vault.
Microsoft.RecoveryServices/Vaults/backupEngines/readReturns all the backup management servers registered with vault.
Microsoft.RecoveryServices/Vaults/backupFabrics/backupProtectionIntent/*Every operation under Microsoft.RecoveryServices/Vaults/backupFabrics/backupProtectionIntent
Microsoft.RecoveryServices/Vaults/backupFabrics/protectableContainers/readGet all protectable containers
Microsoft.RecoveryServices/vaults/operationStatus/readGets Operation Status for a given Operation
Microsoft.RecoveryServices/vaults/operationResults/readThe Get Operation Results operation can be used get the operation status and result for the asynchronously submitted operation
Microsoft.RecoveryServices/locations/backupStatus/actionCheck Backup Status for Recovery Services Vaults
Microsoft.RecoveryServices/locations/backupPreValidateProtection/action
Microsoft.RecoveryServices/locations/backupValidateFeatures/actionValidate Features
Microsoft.RecoveryServices/Vaults/monitoringAlerts/writeResolves the alert.
Microsoft.RecoveryServices/operations/readOperation returns the list of Operations for a Resource Provider
Microsoft.RecoveryServices/locations/operationStatus/readGets Operation Status for a given Operation
Microsoft.RecoveryServices/Vaults/backupProtectionIntents/readList all backup Protection Intents
Microsoft.Support/*Every operation under Microsoft.Support
Microsoft.DataProtection/locations/getBackupStatus/actionCheck Backup Status for Recovery Services Vaults
Microsoft.DataProtection/backupVaults/backupInstances/writeCreates a Backup Instance
Microsoft.DataProtection/backupVaults/backupInstances/deleteDeletes the Backup Instance
Microsoft.DataProtection/backupVaults/backupInstances/readReturns details of the Backup Instance
Microsoft.DataProtection/backupVaults/deletedBackupInstances/readGet soft-deleted Backup Instance in a Backup Vault by name
Microsoft.DataProtection/backupVaults/deletedBackupInstances/undelete/actionPerform undelete of soft-deleted Backup Instance. Backup Instance moves from SoftDeleted to ProtectionStopped state.
Microsoft.DataProtection/backupVaults/backupInstances/backup/actionPerforms Backup on the Backup Instance
Microsoft.DataProtection/backupVaults/backupInstances/validateRestore/actionValidates for Restore of the Backup Instance
Microsoft.DataProtection/backupVaults/backupInstances/restore/actionTriggers restore on the Backup Instance
Microsoft.DataProtection/subscriptions/resourceGroups/providers/locations/crossRegionRestore/actionTriggers cross region restore operation on given backup instance.
Microsoft.DataProtection/subscriptions/resourceGroups/providers/locations/validateCrossRegionRestore/actionPerforms validations for cross region restore operation.
Microsoft.DataProtection/subscriptions/resourceGroups/providers/locations/fetchCrossRegionRestoreJobs/actionList cross region restore jobs of backup instance from secondary region.
Microsoft.DataProtection/subscriptions/resourceGroups/providers/locations/fetchCrossRegionRestoreJob/actionGet cross region restore job details from secondary region.
Microsoft.DataProtection/subscriptions/resourceGroups/providers/locations/fetchSecondaryRecoveryPoints/actionReturns recovery points from secondary region for cross region restore enabled Backup Vaults.
Microsoft.DataProtection/backupVaults/backupPolicies/writeCreates Backup Policy
Microsoft.DataProtection/backupVaults/backupPolicies/deleteDeletes the Backup Policy
Microsoft.DataProtection/backupVaults/backupPolicies/readReturns details of the Backup Policy
Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints/readReturns details of the Recovery Point
Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges/actionFinds Restorable Time Ranges
Microsoft.DataProtection/backupVaults/backupInstances/operationResults/readReturns Backup Operation Result for Backup Vault.
Microsoft.DataProtection/backupVaults/writeCreate BackupVault operation creates an Azure resource of type 'Backup Vault'
Microsoft.DataProtection/backupVaults/readThe Get Backup Vault operation gets an object representing the Azure resource of type 'Backup Vault'
Microsoft.DataProtection/backupVaults/operationResults/readGets Operation Result of a Patch Operation for a Backup Vault
Microsoft.DataProtection/backupVaults/operationStatus/readReturns Backup Operation Status for Backup Vault.
Microsoft.DataProtection/locations/checkNameAvailability/actionChecks if the requested BackupVault Name is Available
Microsoft.DataProtection/locations/checkFeatureSupport/actionValidates if a feature is supported
Microsoft.DataProtection/locations/operationStatus/readReturns Backup Operation Status for Backup Vault.
Microsoft.DataProtection/locations/operationResults/readReturns Backup Operation Result for Backup Vault.
Microsoft.DataProtection/backupVaults/validateForBackup/actionValidates for backup of Backup Instance
Microsoft.DataProtection/operations/readOperation returns the list of Operations for a Resource Provider
Microsoft.RecoveryServices/Vaults/backupResourceGuardProxies/deleteThe Delete ResourceGuard proxy operation deletes the specified Azure resource of type 'ResourceGuard proxy'
Microsoft.RecoveryServices/Vaults/backupResourceGuardProxies/readGet ResourceGuard proxy operation gets an object representing the Azure resource of type 'ResourceGuard proxy'
Microsoft.RecoveryServices/Vaults/backupResourceGuardProxies/unlockDelete/actionUnlock delete ResourceGuard proxy operation unlocks the next delete critical operation
Microsoft.RecoveryServices/Vaults/backupResourceGuardProxies/writeCreate ResourceGuard proxy operation creates an Azure resource of type 'ResourceGuard Proxy'
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'

Showing 80 of 84.

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 Contributor" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Backup Contributor" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, '5e467623-bb1f-42f4-a55d-6e525e11384b')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', '5e467623-bb1f-42f4-a55d-6e525e11384b')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "5e467623-bb1f-42f4-a55d-6e525e11384b"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other storage roles

Find the smallest role for a task →