cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

configuring the Databricks JobAPIs and I get Error 403 User not authorized.

Chris_Konsur
New Contributor III

 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.

1 ACCEPTED SOLUTION

Accepted Solutions

Aviral-Bhardwaj
Esteemed Contributor III

for the particular jobs the user who is trying to start the job he should have access permission or run permission for that jobs , please give required permission and it will work for sure

View solution in original post

1 REPLY 1

Aviral-Bhardwaj
Esteemed Contributor III

for the particular jobs the user who is trying to start the job he should have access permission or run permission for that jobs , please give required permission and it will work for sure

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.