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.
In this article
Applies to: ✅ Azure Data Explorer
This command returns the ManagedIdentity policy of the cluster or the specified database.
To see the managed identity policy on the cluster, you must have AllDatabasesMonitor permissions.
To see the managed identity policy on a database, you must have Database User, Database Viewer, or Database Monitor permissions.
For more information, see role-based access control.
.show
cluster
policy
managed_identity
.show
database
DatabaseName policy
managed_identity
Learn more about syntax conventions.
Name | Type | Required | Description |
---|---|---|---|
DatabaseName | string |
✔️ | The name of the database. |
This command returns a table that has a single record.
Column | Type | Description |
---|---|---|
EntityName | string |
The name of the entity the ManagedIdentity policy is defined on (or empty, if showing the cluster level policy) |
Policies | string |
A JSON array indicating all ManagedIdentity policies defined for the entity, formatted as ManagedIdentity policy objects |
.show database MyDatabase policy managed_identity
EntityName | Policies |
---|---|
[MyDatabase] | [{"ObjectId": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb", "ClientId": "00001111-aaaa-2222-bbbb-3333cccc4444", "TenantId": "aaaabbbb-0000-cccc-1111-dddd2222eeee", "DisplayName": "myManagedIdentity", "IsSystem": false, "AllowedUsages": "NativeIngestion, ExternalTable"}] |