I’m configuring the Databricks JobAPIs and I get Error 403 User not authorized.
I found out the issue is that I need to apply a rule and set API permissions for AzureDatabricks
- Azure Portal>Azure Databricks>Azure Databricks Service>Access control (IAM)>Add a role assignment>Select the role you want to grant and find your service principal>save
- use the service principal to get the token.(Don’t forget to grant permissions to service principals and grant administrator consent) API Permissions for AzueDatabricks
In this link below it is explained how to configure via Azure Portal UI.
https://stackoverflow.com/questions/63686132/error-403-user-not-authorized-when-trying-to-access-azu...
I need to configure this via Azure (ADO) pipeline using PowerShell scripts because I do not have access to UI.
If someone can me provide PowerShell commands how to configure , greatly appreciate.