Azure Databases built-in role

DocumentDB Account Contributor

Broadly manages Azure Cosmos DB accounts and their child resources through the control plane. It has no DataActions, but its unrestricted account-management wildcard includes key and connection-string operations and management of native data-plane role definitions and assignments, so it is not a least-privilege default.

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: 5bd9cd88-fe45-4216-938b-f97437e15450

Control-plane actions (8)

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 an individual Cosmos DB account or a dedicated resource group only when the administrator owns the full account lifecycle. Parent assignments are inherited. Native item access is a separate data plane, but account-key retrieval can open a key-authenticated path outside Microsoft Entra data-role assignments.

Common use cases (2)

Prerequisites (2)

Best practices (3)

Security considerations (3)

Assignment guidance

Reserve DocumentDB Account Contributor for trusted account administrators or automation that requires the full account wildcard. Assign at the individual account or dedicated resource group, prefer Cosmos DB Operator for constrained operations, and grant application data access through native Cosmos DB roles.

Related roles (2)

Editorial sources (4)

Official Microsoft Learn documentation →