cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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

AviralBhardwaj

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

AviralBhardwaj

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group