title | description | ms.reviewer | ms.topic | ms.date | monikerRange |
---|---|---|---|---|---|
.delete policy managed_identity command |
Learn how to use the `.delete policy managed_identity` command to delete the ManagedIdentity policy of a cluster or a specified database. |
slneimer |
reference |
08/11/2024 |
azure-data-explorer |
[!INCLUDE applies] [!INCLUDE azure-data-explorer]
Deletes the ManagedIdentity policy of the cluster or the specified database.
Warning
Be careful when deleting the ManagedIdentity policy, as doing so will cause failures in all flows that rely on this policy. For example, if the policy allowed accessing Azure Storage via External Tables by authenticating via a managed identity, then deleting this policy will cause failures for queries that involve this external table, and also for operations that export to this external table.
You must have AllDatabasesAdmin permissions to run these commands.
.delete
cluster
policy
managed_identity
.delete
database
DatabaseName policy
managed_identity
[!INCLUDE syntax-conventions-note]
Name | Type | Required | Description |
---|---|---|---|
DatabaseName | string |
✔️ | The name of the database. |
The command deletes the cluster's or database's ManagedIdentity policy, and then returns the output of the corresponding .show managed identity policy command.
.delete database MyDatabase policy managed_identity