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

HDInsight on AKS Cluster AdminAzure built-in role

Grants a user/group the ability to create, delete and manage clusters within a given cluster pool. Cluster Admin can also run workloads, monitor, and manage all user activity on these clusters.

Role IDfd036e6b-1266-47a0-b0bb-a05d04831731
CategoryAnalytics
Actions35
Data actions0

What it can do

PermissionWhat it allows
Microsoft.Authorization/*/readAny read operation on anything under Microsoft.Authorization
Microsoft.HDInsight/clusterPools/clusters/readGet details about HDInsight on AKS Cluster
Microsoft.HDInsight/clusterPools/clusters/writeCreate or Update HDInsight on AKS Cluster
Microsoft.HDInsight/clusterPools/clusters/deleteDelete a HDInsight on AKS cluster
Microsoft.HDInsight/clusterPools/clusters/resize/actionResize a HDInsight on AKS Cluster
Microsoft.HDInsight/clusterpools/clusters/instanceviews/readGet details about HDInsight on AKS Cluster Instance View
Microsoft.HDInsight/clusterPools/clusters/jobs/readList HDInsight on AKS Cluster Jobs
Microsoft.HDInsight/clusterPools/clusters/runjob/actionRun HDInsight on AKS Cluster Job
Microsoft.HDInsight/clusterpools/clusters/serviceconfigs/readGet details about HDInsight on AKS Cluster Service Configurations
Microsoft.HDInsight/clusterPools/clusters/availableupgrades/readGet Available Upgrades for HDInsight on AKS Cluster
Microsoft.HDInsight/clusterPools/clusters/upgrade/actionUpgrade HDInsight on AKS Cluster
Microsoft.HDInsight/clusterPools/clusters/rollback/actionRollback HDInsight on AKS Cluster Upgrade
Microsoft.HDInsight/clusterPools/clusters/upgradehistories/readRead HDInsight on AKS Cluster Upgrade Histories
Microsoft.HDInsight/clusterPools/clusters/libraries/readRead HDInsight on AKS Cluster Libraries
Microsoft.HDInsight/clusterPools/clusters/managelibraries/actionManage HDInsight on AKS Cluster Libraries
Microsoft.ResourceHealth/availabilityStatuses/readGets the availability statuses for all resources in the specified scope
Microsoft.Resources/deployments/operations/readGets or lists deployment operations.
Microsoft.Resources/deployments/*/readAny read operation on anything under Microsoft.Resources/deployments
Microsoft.Resources/deployments/readGets or lists deployments.
Microsoft.Resources/deployments/validate/actionValidates a deployment.
Microsoft.Resources/deployments/writeCreates or updates an deployment.
Microsoft.Resources/deployments/exportTemplate/actionExport template for a deployment
Microsoft.Resources/subscriptions/resourcegroups/deployments/operations/readGets or lists deployment operations.
Microsoft.Resources/subscriptions/resourcegroups/deployments/readGets or lists deployments.
Microsoft.Resources/subscriptions/resourceGroups/readGets or lists resource groups.
Microsoft.Resources/subscriptions/operationresults/readGet the subscription operation results.
Microsoft.Insights/AlertRules/WriteCreate or update a classic metric alert
Microsoft.Insights/AlertRules/DeleteDelete a classic metric alert
Microsoft.Insights/AlertRules/ReadRead a classic metric alert
Microsoft.Insights/AlertRules/Activated/ActionClassic metric alert activated
Microsoft.Insights/AlertRules/Resolved/ActionClassic metric alert resolved
Microsoft.Insights/AlertRules/Throttled/ActionClassic metric alert rule throttled
Microsoft.Insights/AlertRules/Incidents/ReadRead a classic metric alert incident
Microsoft.Insights/metrics/readRead metrics
Microsoft.Insights/logs/readReading data from all your logs

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 "HDInsight on AKS Cluster Admin" \
  --scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
powershell3 lines
New-AzRoleAssignment -SignInName "jane.doe@contoso.com" `
  -RoleDefinitionName "HDInsight on AKS Cluster Admin" `
  -Scope "/subscriptions/<subscription id>/resourceGroups/<resource group>"
bicep7 lines
resource assignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(resourceGroup().id, principalId, 'fd036e6b-1266-47a0-b0bb-a05d04831731')
  properties: {
    roleDefinitionId: subscriptionResourceId('Microsoft.Authorization/roleDefinitions', 'fd036e6b-1266-47a0-b0bb-a05d04831731')
    principalId: principalId
  }
}

Who already has it?

kql · azure resource graph
authorizationresources
| where type == "microsoft.authorization/roleassignments"
| where tostring(properties.roleDefinitionId) endswith "fd036e6b-1266-47a0-b0bb-a05d04831731"
| project principalId = tostring(properties.principalId), principalType = tostring(properties.principalType), scope = tostring(properties.scope)

Other analytics roles

Find the smallest role for a task →