cancel
Showing results for 
Search instead for 
Did you mean: 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to list service principal in Job details RUN AS

diego_poggioli
Contributor

I added the service principal in Admin Settings > Service Principal and then enabled all the Configurations "allow cluster creation", "databricks SQL access" and "workspace access". In the Permission settings I have enabled "Service principal: Manager" and "Service principal: User" following the doc here 

However in the Job when I try to change the "Run As" field the Service Principal is not listed with the messages:

  • "We couldn't find service principals you can bind to job"
  • "There are no service principals provisioned in this workspace or you don't have the permissions to bind any of them to a job. Please contact your workspace or account administrator to create and manage service principals."

What am I missing?

1 ACCEPTED SOLUTION

Accepted Solutions

BilalAslamDbrx
Databricks Employee
Databricks Employee

For future readers - don't forget to add your email (e.g. me@foo.com) in the Service Principals permissions tab. This way, you will be able to see the newly-created service principal in the dropdown menu.

View solution in original post

5 REPLIES 5

BilalAslamDbrx
Databricks Employee
Databricks Employee

Diego, I was unable to reproduce this ... can you hard-reload the Service Principles settings page and verify that the job owner in fact has "User" permissions on the SP?

BilalAslamDbrx_1-1693918778111.png

 

What do you mean by "hard-reload the Service Principles settings page"? 

In the service principal Permissions tab I see the attached snip but the SP is not listed in the dropdown menu when I try to change the Run as.

BilalAslamDbrx
Databricks Employee
Databricks Employee

Can you share screenshots with me at bilal do aslam at databricks dot com?

Will do, thanks Bilal for your support!

BilalAslamDbrx
Databricks Employee
Databricks Employee

For future readers - don't forget to add your email (e.g. me@foo.com) in the Service Principals permissions tab. This way, you will be able to see the newly-created service principal in the dropdown menu.

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