azure-cli-extensions
azure-cli-extensions copied to clipboard
`az kusto script create` for a cluster scoped commands
Related command
az kusto script create
Extension name (the extension in question)
kusto
Description of issue (in as much detail as possible)
Hi, I'm trying to run a command:
.alter cluster policy managed_identity ``` [ { "ObjectId": "${cluster_principal_id}", "AllowedUsages": "ExternalTable" } ]
as part of az kusto script create
but it fails with Reason: Not a database-scope command
even though the script succeeds in the portal even when scope is set to the database, not cluster.
Can this be fixed please?
Thank you very much!
route to CXP team
@JiriKovar Thank you for reaching out, we are looking into it.
@JiriKovar The command should ran on cluster, not as part of a script. .alter cluster policy managed_identity ``` [ { "ObjectId": "${cluster_principal_id}", "AllowedUsages": "ExternalTable" } ].
Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!