cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
cancel
Showing results for 
Search instead for 
Did you mean: 

Run a job with an Azure service principal

Phani1
Valued Contributor

We had a problem in pointing out the Service Principal in the “Run as” option of workflow. Below are the details about the issue we are facing.

Issue Details:

I had created a Workflow in Azure Databricks workspace to automate the Data movement process. As this workflow is created by me, currently it is using my user account to run the job. However, as a best practice I had created a Service Principal in Azure and provided all the required permissions to the Databricks Resource.

And then, I had added relevant Service Principal details in Databricks Workspace (Admin Settings -- > Service Principals tab) and applied both the Service Principal Manager and User Permissions.

After that when I edit the Run As option in the workflow , I am not seeing Service Principal in the drop down provided. Instead, I am seeing the following message under the Service Principal section “We couldn’t find Service Principals you can bind to Jobs”.

Am I missing anything here to implement the above feature? Please provide your inputs.

Note:

  1. I have admin permission to Workspace.
  2. Tried different methods – added Service Principal as Is Owner under Permissions Tab

Please find the same information in the below screenshots.

Phani1_0-1692256727118.pngPhani1_1-1692256735431.png

 

1 REPLY 1

Debayan
Esteemed Contributor III
Esteemed Contributor III

Hi, Could you please confirm if the service principle is already added to the workspace via admin console? 

https://docs.databricks.com/en/administration-guide/users-groups/service-principals.html#assign-a-se...

Please tag @Debayan with your next comment, which will get me notified. Thanks!

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.