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

Elastic SAN Network AdminAzure built-in role

Allows access to create Private Endpoints on SAN resources, and to read SAN resources

Role IDfa6cecf6-5db3-4c43-8470-c540bcb4eafa
CategoryStorage
Actions5
Data actions0

What it can do

PermissionWhat it allows
Microsoft.ElasticSan/elasticSans/*/readAny read operation on anything under Microsoft.ElasticSan/elasticSans
Microsoft.ElasticSan/elasticSans/PrivateEndpointConnectionsApproval/action
Microsoft.ElasticSan/elasticSans/privateEndpointConnections/write
Microsoft.ElasticSan/elasticSans/privateEndpointConnections/delete
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 Network Admin" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "Elastic SAN Network Admin" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, 'fa6cecf6-5db3-4c43-8470-c540bcb4eafa')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'fa6cecf6-5db3-4c43-8470-c540bcb4eafa')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "fa6cecf6-5db3-4c43-8470-c540bcb4eafa"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other storage roles

Find the smallest role for a task →