Azure Containers built-in role

Container Apps ManagedEnvironments Contributor

Container Apps ManagedEnvironments Contributor creates, updates, deletes, reads, and performs supported actions on Container Apps managed environment. The published role uses Azure control-plane Actions and has no DataActions. It can invoke Microsoft.App/managedEnvironments/daprComponents/listSecrets/action through its managed-environment action wildcard to list secrets of managed-environment Dapr components; secret listing is an Azure Action and must not be mistaken for an absence of secret-bearing authority merely because the role has no secret DataAction. Access to container registries, Key Vault, monitoring data, managed identities, networks, and application endpoints remains separately authorized.

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: 57cc5028-e6a7-4284-868d-0611c5923f8d

Control-plane actions (7)

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 individual Container Apps managed environment resource when supported, or on its dedicated Container Apps resource group when the principal intentionally manages several related resources. Parent-scope assignments are inherited by every matching Container Apps resource below them.

Common use cases (1)

Prerequisites (2)

Best practices (2)

Security considerations (3)

Assignment guidance

Assign Container Apps ManagedEnvironments Contributor at the narrowest Container Apps managed environment or dedicated resource-group scope to the identity that needs to creates, updates, deletes, reads, and performs supported actions on Container Apps managed environment. Grant connected-resource permissions separately and choose the reader, operator, or contributor variant that matches the documented workflow.

Common questions

When should I assign the Container Apps ManagedEnvironments Contributor Azure role?

Assign Container Apps ManagedEnvironments Contributor when you need to: Create and manage the shared Container Apps managed-environment boundary, including supported environment configuration and lifecycle operations.. Practical scope: Assign on the individual Container Apps managed environment resource when supported, or on its dedicated Container Apps resource group when the principal intentionally manages several related resources. Parent-scope assignments are inherited by every matching Container Apps resource below them.

What permissions does the Container Apps ManagedEnvironments Contributor Azure role grant?

The role definition grants 7 combined control-plane and data-plane actions. Representative operations include: Microsoft.Authorization/*/read; Microsoft.Insights/alertRules/*; Microsoft.App/managedEnvironments/*/read; Microsoft.App/managedEnvironments/*/write; Microsoft.App/managedEnvironments/*/delete; and Microsoft.App/managedEnvironments/*/action. Review the permission sections above for the complete definition and exclusions.

What are the security risks of the Container Apps ManagedEnvironments Contributor Azure role?

Key considerations when assigning Container Apps ManagedEnvironments Contributor: Environment changes can affect networking, logging, certificates, workload profiles, and availability for every app and job hosted in the environment.; The role can invoke Microsoft.App/managedEnvironments/daprComponents/listSecrets/action through its managed-environment action wildcard to list secrets of managed-environment Dapr components, which can disclose credentials or other sensitive configuration to the assignee.; and A broad Azure assignment is inherited by multiple Container Apps resources even though the role has no resource data-plane DataActions.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (7)

Official Microsoft Learn documentation →