Azure role · storage
Storage Account Backup ContributorAzure built-in role
Lets you perform backup and restore operations using Azure Backup on the storage account.
Read onlyChange some thingsChange anythingGive access to others
Medium risk. It can create, change or delete some resources in scope.
In short: Storage Account Backup Contributor is an Azure built-in role with 18 actions.
| Role ID | e5e2a7ff-d759-4cd2-bb51-3152d37e2eb1 |
|---|---|
| Category | Storage |
| Actions | 18 |
| Data actions | 0 |
What it can do
| Permission | What it allows |
|---|---|
Microsoft.Authorization/*/read | Any read operation on anything under Microsoft.Authorization |
Microsoft.Authorization/locks/read | Gets locks at the specified scope. |
Microsoft.Authorization/locks/write | Add locks at the specified scope. |
Microsoft.Authorization/locks/delete | Delete locks at the specified scope. |
Microsoft.Features/features/read | Gets the features of a subscription. |
Microsoft.Features/providers/features/read | Gets the feature of a subscription in a given resource provider. |
Microsoft.Resources/subscriptions/resourceGroups/read | Gets or lists resource groups. |
Microsoft.Storage/operations/read | |
Microsoft.Storage/storageAccounts/objectReplicationPolicies/delete | Delete object replication policy |
Microsoft.Storage/storageAccounts/objectReplicationPolicies/read | Get object replication policy |
Microsoft.Storage/storageAccounts/objectReplicationPolicies/write | Create or update object replication policy |
Microsoft.Storage/storageAccounts/objectReplicationPolicies/restorePointMarkers/write | Create object replication restore point marker |
Microsoft.Storage/storageAccounts/blobServices/containers/read | Returns a container |
Microsoft.Storage/storageAccounts/blobServices/containers/write | Returns the result of patch blob container |
Microsoft.Storage/storageAccounts/blobServices/read | List blob services |
Microsoft.Storage/storageAccounts/blobServices/write | Returns the result of put blob service properties |
Microsoft.Storage/storageAccounts/read | Returns the list of storage accounts or gets the properties for the specified storage account. |
Microsoft.Storage/storageAccounts/restoreBlobRanges/action | Restore blob ranges to the state of the specified time |
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 "Storage Account Backup Contributor" \
--scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
-RoleDefinitionName "Storage Account Backup Contributor" `
-Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"What each line does
- Line 1: Creates a role assignment in Azure. Makes a change.
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
name: guid(resourceGroup().id, principalId, 'e5e2a7ff-d759-4cd2-bb51-3152d37e2eb1')
properties: {
roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'e5e2a7ff-d759-4cd2-bb51-3152d37e2eb1')
principalId: principalId
}
}Who already has it?
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "e5e2a7ff-d759-4cd2-bb51-3152d37e2eb1"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)Other storage roles
- Azure File Sync Reader · 1 permission
- Storage Blob Delegator · 1 permission
- Storage File Data SMB Share Reader · 1 permission
- Storage File Data SMB Take Ownership · 1 permission
- Storage File Delegator · 1 permission
- Storage Queue Data Message Sender · 1 permission
- Storage Queue Delegator · 1 permission
- Storage Table Delegator · 1 permission
Find the smallest role for a task →
Link to this page
Writing a guide or answering a question? Copy this link.
<a href="https://azureblog.co.uk/roles/azure/storage-account-backup-contributor/">Storage Account Backup Contributor Azure role explained</a>Spotted something out of date or wrong? Tell us and we'll fix it.