Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Azure RBAC tools in the Azure MCP Server allow you to manage Azure role-based access control using natural language prompts. This allows you to quickly view and manage role assignments without remembering complex syntax, streamlining your Azure access management workflow.
Azure role-based access control (Azure RBAC) is the authorization system used to manage access to Azure resources. The way you control access to resources using Azure RBAC is to assign Azure roles. This is a key concept to understand – it's how permissions are enforced. A role assignment consists of three elements: security principal, role definition, and scope.
Note
The Azure MCP Server tools define parameters for data they need to complete tasks. Some of these parameters are specific to each tool and are documented below. Other parameters are global and shared by all tools. For more information, see Tool parameters.
List role assignments
The Azure MCP Server can list Azure RBAC role assignments at a specific scope. This allows you to view who has access to what resources and what permissions they have.
Example prompts include:
- List assignments: "Show me all role assignments in my subscription."
- View scope assignments: "List role assignments for resource group 'myresourcegroup'"
- Check access: "What role assignments exist at the subscription scope?"
- Query assignments: "Show me all RBAC assignments for my Azure subscription"
- Find assignments: "List all role assignments in scope '/subscriptions/12345678-1234-1234-1234-123456789012'"
- Resource group scope: "Show role assignments for resource group 'production-rg' in my subscription"
- Specific resource scope: "List role assignments for storage account 'mystorageaccount' in resource group 'storage-rg'"
- Virtual machine access: "What role assignments exist for VM 'prod-vm01' in the production resource group?"
- Database permissions: "Show me who has access to SQL database 'proddb' in resource group 'database-rg'"
Parameter | Required | Description |
---|---|---|
Subscription | Required | The ID of the Azure subscription containing the resources. |
Scope | Required | The scope to list role assignments for. Can be a subscription, resource group, or resource. |