Azure Containers built-in role

Azure Kubernetes Service Namespace Contributor

Creates, reads, updates, and deletes AKS managed namespace ARM resources and their supported quota, network-policy, label, annotation, adoption, and delete-policy configuration. It has no Kubernetes DataActions and no Microsoft.Authorization role-assignment write or delete permission.

Role-definition permissions are imported from Microsoft Learn. Practical scope, use cases, prerequisites, best practices, security considerations, assignment guidance, and relationships have been reviewed against the official sources below.

Role definition ID: 289d8817-ee69-43f1-a0af-43a45505b488

Control-plane actions (5)

Data-plane actions (0)

None — this role grants no data-plane (data access) actions.

Excluded actions (0)

None

Assignable scopes (1)

Practical scope

Assign on the AKS cluster or the bounded parent scope where the administrator creates managed namespaces. A parent assignment is inherited by every managed namespace and cluster resource below it.

Common use cases (1)

Prerequisites (1)

Best practices (2)

Security considerations (2)

Assignment guidance

Assign on the exact AKS cluster to the tenancy administrator responsible for managed namespace resources. Have a separately authorized RBAC administrator assign Namespace User and the required AKS RBAC data role on each managed namespace, and audit namespace lifecycle and policy changes.

Related roles (1)

Common questions

When should I assign the Azure Kubernetes Service Namespace Contributor Azure role?

Assign Azure Kubernetes Service Namespace Contributor when you need to: Delegate managed namespace resource creation and lifecycle configuration to an AKS tenancy administrator without granting role-assignment administration.. Practical scope: Assign on the AKS cluster or the bounded parent scope where the administrator creates managed namespaces. A parent assignment is inherited by every managed namespace and cluster resource below it.

What permissions does the Azure Kubernetes Service Namespace Contributor Azure role grant?

The role definition grants 5 combined control-plane and data-plane actions. Representative operations include: Microsoft.Authorization/*/read; Microsoft.Insights/alertRules/*; Microsoft.Resources/subscriptions/resourceGroups/read; Microsoft.ContainerService/managedClusters/managedNamespaces/*; and Microsoft.Resources/deployments/*. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Azure Kubernetes Service Namespace Contributor Azure role?

Key considerations when assigning Azure Kubernetes Service Namespace Contributor: Changing quotas, network policies, adoption behavior, or delete policy can affect workload isolation, availability, and lifecycle; deleting a managed namespace can disrupt applications and, with Delete policy, remove contained resources.; and The role cannot create or delete Azure role assignments, so a separate authorized role-assignment administrator must grant Namespace User and AKS RBAC data roles.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (6)

Official Microsoft Learn documentation →