- Least privileged Azure RBAC action required:
Microsoft.Authorization/roleAssignments/read. - Built-in role that grants access:
Reader.
External DocumentationTo learn more, visit the Azure documentation.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Microsoft.Authorization/roleAssignments/read.Reader.| Parameter | Description |
|---|---|
| Filter | The filter to apply on the operation. For example: * Use atScope() to return all role assignments at or above the scope.* Use principalId eq {id} to return all role assignments for the specified principal. |
| Resource Group Name | The name of the resource group. The name is case insensitive. |
| Resource Name | The name of the resource to get role assignments for. |
| Resource Provider Namespace | The namespace of the resource provider. For example: Microsoft.Compute. |
| Resource Type | The resource type of the resource. For example: virtualMachines. |
| Subscription ID | The ID of the target subscription. |
| Tenant ID | The tenant ID for a cross-tenant request. |
{
"value": [
{
"name": "b0f43c54-e787-4862-89b1-a653fa9cf747",
"type": "Microsoft.Authorization/roleAssignments",
"id": "/subscriptions/a925f2f7-5c63-4b7b-8799-25a5f97bc3b2/resourceGroups/testrg/providers/Microsoft.DocumentDb/databaseAccounts/test-db-account/providers/Microsoft.Authorization/roleAssignments/b0f43c54-e787-4862-89b1-a653fa9cf747",
"properties": {
"roleDefinitionId": "/providers/Microsoft.Authorization/roleDefinitions/0b5fe924-9a61-425c-96af-cfe6e287ca2d",
"principalId": "ce2ce14e-85d7-4629-bdbc-454d0519d987",
"principalType": "User",
"scope": "/subscriptions/a925f2f7-5c63-4b7b-8799-25a5f97bc3b2/resourceGroups/testrg/providers/Microsoft.DocumentDb/databaseAccounts/test-db-account"
}
}
]
}
Was this page helpful?