Azure Databases built-in role

SQL DB Contributor

Broadly manages Azure SQL databases within existing logical servers but does not manage their parent servers, their security-related policies, or database data access. Its permissions are control-plane Actions only and contain no DataActions.

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: 9b7fa17d-e63e-47b0-bb0a-15c516ac86ec

Control-plane actions (11)

Data-plane actions (0)

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

Excluded actions (24)

Assignable scopes (1)

Practical scope

Assign on an individual database or a resource group containing the databases the operator manages. Parent-scope assignments are inherited. Azure RBAC controls management of Azure SQL resources; SQL users, logins, database roles, and database-engine permissions separately control queries and data access.

Common use cases (2)

Prerequisites (2)

Best practices (3)

Security considerations (3)

Assignment guidance

Assign SQL DB Contributor to the database operations identity on the individual database or dedicated resource group. Keep logical-server administration on SQL Server Contributor, security settings on SQL Security Manager, and SQL data permissions in database users and roles.

Related roles (2)

Common questions

When should I assign the SQL DB Contributor Azure role?

Assign SQL DB Contributor when you need to: Create and manage single databases through the Azure portal, PowerShell, Azure CLI, REST, or deployments on an existing logical server.; and Operate database configuration, service tier, scaling, availability, and lifecycle without parent-server or security-policy administration.. Practical scope: Assign on an individual database or a resource group containing the databases the operator manages. Parent-scope assignments are inherited. Azure RBAC controls management of Azure SQL resources; SQL users, logins, database roles, and database-engine permissions separately control queries and data access.

What permissions does the SQL DB Contributor Azure role grant?

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

What are the security risks of the SQL DB Contributor Azure role?

Key considerations when assigning SQL DB Contributor: The role can create, resize, change, and delete databases in scope, affecting availability, integrity, and cost.; It cannot access database contents through Azure RBAC DataActions and excludes the published security-policy operations.; and A SQL login or database user can still have independent data permissions, so review Azure and database-engine authorization together.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (6)

Official Microsoft Learn documentation →