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

Elastic SAN ReaderAzure built-in role

Allows for control path read access to Azure Elastic SAN

Role IDaf6a70f8-3c9f-4105-acf1-d719e9fca4ca
CategoryStorage
Actions5
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.ResourceHealth/availabilityStatuses/readGets the availability statuses for all resources in the specified scope
Microsoft.Resources/subscriptions/resourceGroups/readGets or lists resource groups.
Microsoft.ElasticSan/elasticSans/*/readAny read operation on anything under Microsoft.ElasticSan/elasticSans

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 Reader" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Elastic SAN Reader" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, 'af6a70f8-3c9f-4105-acf1-d719e9fca4ca')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'af6a70f8-3c9f-4105-acf1-d719e9fca4ca')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "af6a70f8-3c9f-4105-acf1-d719e9fca4ca"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other storage roles

Find the smallest role for a task →