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

Elastic SAN Volume Group OwnerAzure built-in role

Allows for full access to a volume group in Azure Elastic SAN including changing network security policies to unblock data path access

Role IDa8281131-f312-4f34-8d98-ae12be9f0d23
CategoryStorage
Actions4
Data actions0

What it can do

PermissionWhat it allows
Microsoft.Authorization/roleAssignments/readGet information about a role assignment.
Microsoft.Authorization/roleDefinitions/readGet information about a role definition.
Microsoft.ElasticSan/elasticSans/volumeGroups/*Every operation under Microsoft.ElasticSan/elasticSans/volumeGroups
Microsoft.ElasticSan/locations/asyncoperations/readPolls the status of an asynchronous operation.

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 "Elastic SAN Volume Group Owner" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Elastic SAN Volume Group Owner" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, 'a8281131-f312-4f34-8d98-ae12be9f0d23')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'a8281131-f312-4f34-8d98-ae12be9f0d23')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "a8281131-f312-4f34-8d98-ae12be9f0d23"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other storage roles

Find the smallest role for a task →