Azure Databases built-in role

SQL Managed Instance Contributor

Broadly manages Azure SQL Managed Instances and the virtual networks, subnets, network security groups, route tables, failover groups, and deployments required by the service. It has no DataActions, cannot grant Azure RBAC access, and excludes changes to Microsoft Entra-only authentication.

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: 4939a1f6-9ae0-4e48-a1e0-f2cbe897382d

Control-plane actions (15)

Data-plane actions (0)

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

Excluded actions (2)

Assignable scopes (1)

Practical scope

Microsoft documents subscription scope for general provisioning because the role manages the instance and required network resources. When the subnet is already delegated and prepared, a custom or narrower permission containing Microsoft.Sql/managedInstances/write can be sufficient. SQL data access remains separate database-engine authorization.

Common use cases (2)

Prerequisites (3)

Best practices (3)

Security considerations (3)

Assignment guidance

Use SQL Managed Instance Contributor for a trusted provisioning identity only when it must manage both the instance and required network infrastructure. Follow Microsoft subscription-scope guidance for general provisioning, but prefer a narrower custom role for an already delegated subnet and keep SQL data and security administration separate.

Related roles (1)

Common questions

When should I assign the SQL Managed Instance Contributor Azure role?

Assign SQL Managed Instance Contributor when you need to: Deploy and manage a SQL Managed Instance together with its required virtual network, subnet, route table, and network security group resources.; and Operate managed-instance lifecycle, configuration, monitoring, and failover groups without Azure RBAC delegation or database data access.. Practical scope: Microsoft documents subscription scope for general provisioning because the role manages the instance and required network resources. When the subnet is already delegated and prepared, a custom or narrower permission containing Microsoft.Sql/managedInstances/write can be sufficient. SQL data access remains separate database-engine authorization.

What permissions does the SQL Managed Instance Contributor Azure role grant?

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

What are the security risks of the SQL Managed Instance Contributor Azure role?

Key considerations when assigning SQL Managed Instance Contributor: The role can change or delete managed instances and required network infrastructure, creating a large availability, connectivity, and cost impact.; It has no DataActions and does not grant database-engine access, but network changes can expose or isolate the service.; and It cannot enable or disable Microsoft Entra-only authentication and cannot assign Azure roles; those controls remain separate.. Follow the assignment guidance above and use the narrowest practical scope.

Editorial sources (6)

Official Microsoft Learn documentation →