Azure Container Registry Entra permissions and role assignments overview - Azure Container Registry (original) (raw)

Azure Container Registry (ACR) offers a set of built-in roles that provide Microsoft Entra-based permissions management to an ACR registry. Using Azure role-based access control (RBAC), you can assign a built-in role to users, managed identities, or service principals to grant Microsoft Entra-based permissions defined within the role. You can also define and assign custom roles with fine-grained permissions tailored to your specific needs if the built-in roles don't meet your requirements.

Supported role assignment identity types

ACR roles can be assigned to the following identity types to grant permissions to a registry:

Take note that ACR connected registry, ACR's on-premises registry offering that differs from cloud-based ACR, doesn't support Azure role assignments and Entra-based permissions management.

Performing role assignments to grant permissions

See Steps to add a role assignment for information on how to assign a role to an identity. Role assignments can be made using:

To perform role assignments, you must either have the Owner role or Role Based Access Control Administrator role on the registry.

Scoping role assignments to specific repositories

You can use Microsoft Entra attribute-based access control (ABAC) for managing Microsoft Entra-based repository permissions. This feature allows you to scope role assignments to specific repositories in a registry.

For an overview of Microsoft Entra ABAC repository permissions, including the ACR built-in roles that support Microsoft Entra ABAC conditions, see Microsoft Entra-based repository permissions. Alternatively, you can consult the Azure Container Registry roles directory reference for a list of built-in roles that support Microsoft Entra ABAC conditions.

Apply the principle of least privilege by assigning only the permissions necessary for an identity to perform its intended function. These common scenarios each have a recommended built-in role.

Note

The applicable built-in roles and role behavior depends on the registry's "Role assignment permissions mode". This is visible in the "Properties" blade in the Azure portal:

For details on Microsoft Entra ABAC and ABAC-enabled roles, see Microsoft Entra-based repository permissions.

Next steps