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

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

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!