Skip to main content
How-to guideApplies to: CloudPrem on Azure
You can run e6data with every role scoped to named resources and nothing above resource-group scope. This setup has been verified end to end: cluster resume, a query, and the query in Query History. The full permission lists live in Permissions reference. This page covers how to narrow them.

Requirements

  • Your identity team creates every e6data role or identity itself. e6data never creates, changes or passes roles.
  • Every role assignment is on a resource group or below (resource group, VNet, subnet, storage account). No Contributor, Network Contributor or other broad built-in role is held by an e6data identity.
  • Wait a few minutes after assigning roles before you start the first cluster.

What you can switch off or narrow

Steps

1

Create the resource group

Create the resource group yourself and give e6data its name. e6data needs no subscription rights to create it.
2

Create the custom role definitions

Create the custom role definitions with your resource group (or node resource group) as the assignable scope, so nothing is defined on the subscription:
If the VNet is in another resource group, add that resource group to AssignableScopes of e6data-network-reader and aks-subnet-access.With e6data’s Karpenter, also create e6data-karpenter-node-rg with the 24 actions in Permissions reference, assignable at <NODE_RG>.
3

Assign roles to the workspace identity

Assign Storage Blob Data Contributor on the e6data storage account, Storage Blob Data Reader on each data storage account, and e6data-network-reader on the VNet. Don’t assign the compute reader on the subscription.
4

Narrow the AKS cluster identity

Assign aks-subnet-access on the subnet, then remove Network Contributor at the scope it was granted: the VNet with e6data’s install, or the subnet only when az aks create added it for your own subnet. Check with az role assignment list first:
Leave the Contributor on the node resource group that AKS gave its own identity.
5

Set up node scaling

With NAP, do nothing more. With e6data’s Karpenter, assign only e6data-karpenter-node-rg (node resource group) and aks-subnet-access (subnet) to the Karpenter identity.
6

Wait before the first cluster start

Wait a few minutes before starting the first cluster.
Azure role assignments take a few minutes to apply. A cluster started 29 seconds after a role change can fail with E6_CLUSTER_CLOUD_PERMISSION_DENIED. The same start a few minutes later works.

Preflight check

Expected: no scope at subscription level, and no Contributor, Network Contributor, Virtual Machine Contributor or Managed Identity Operator on an e6data identity. Contributor on the node resource group for the AKS cluster identity is expected.

Verify

  1. Resume a cluster from the e6data console. It reaches Running.
  2. Run a query in the SQL Editor, then check it appears in Query History.

Troubleshooting

Limitations

  • Container-scoped roles (instead of storage-account scope): the metadata service runs with Storage Blob Data Contributor on its own container, and Storage Blob Data Reader on one lake container can read files over a private endpoint. Storage-account scope is the standard setup.

See also

Last modified on December 1, 2026