cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

This API is disabled for users without the databricks-sql-access

CelGuillau
New Contributor III

Running a deply on github: Run databricks bundle deploy
databricks bundle deploy
shell: /usr/bin/bash -e {0}
env:
DATABRICKS_HOST: {{HOST}}
DATABRICKS_CLIENT_ID: {{ID}}
DATABRICKS_CLIENT_SECRET: ***
DATABRICKS_BUNDLE_ENV: prod
Error: This API is disabled for users without the databricks-sql-access or workspace-access or workspace-consume entitlements. Contact your administrator for more information. [ReqId: 6582b050-f6bb-4abf-9972-427f47783b7b]

Not entirely sure how to fix this issue, I tried granting more access to the user associated with it and still getting the same issue. I granted them data-eng-admin and data-eng-database-admin roles. I browsed some forum posts but they mark it as answered before providing what they did to fix the issue.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

szymon_dybczak
Esteemed Contributor III

Hi @CelGuillau ,

Go to your workspace and click on Settings -> Identity and access tab ->  Service Principals (Manage)

szymon_dybczak_0-1753195721253.png

 

Then find you service principal and check what entitelments it has:

szymon_dybczak_1-1753195756360.png

 

View solution in original post

5 REPLIES 5

szymon_dybczak
Esteemed Contributor III

Hi @CelGuillau ,

Go to your workspace and click on Settings -> Identity and access tab ->  Service Principals (Manage)

szymon_dybczak_0-1753195721253.png

 

Then find you service principal and check what entitelments it has:

szymon_dybczak_1-1753195756360.png

 

Hi @szymon_dybczak,

Where exactly did you go to get that? It seems like my setup looks a little different from yours. 

szymon_dybczak
Esteemed Contributor III

Hi @CelGuillau ,

 

You're at account level. The settings that I showed you are at workspace level. So, log in to your target workspace and follow instructions I've described above.

CelGuillau
New Contributor III

Got it working, yes I see it was a little confusing at first, the workspace displayed at the top right is the account information whereas the profile icon is where you can access the workspace settings. For anyone that got as confused as I did. Thanks again!

szymon_dybczak
Esteemed Contributor III

No problem, great that you it worked for you 🙂