You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sruthikilari
changed the title
Running Kusto script on DB fails through Terraform, succeeds manually
Running Kusto script on ADX fails through Terraform, succeeds manually
May 17, 2024
Is there an existing issue for this?
Community Note
Terraform Version
1.5.7
AzureRM Provider Version
3.52.0
Affected Resource(s)/Data Source(s)
azurerm_kusto_script
Terraform Configuration Files
Debug Output/Panic Output
Failed to run script 'metricsdbmsipolicy' on database. Reason: Command is not allowed.
Expected Behaviour
Expecting policy to be added when I run ".show cluster policy managed identity" but it comes up blank
Actual Behaviour
The command fails through the script, but succeeds when I paste the same command in my database immediately after in portal
Steps to Reproduce
SP and user have both been added as AllDatabaseAdmin on the cluter and Admin on the database through Terraform
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: