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: 

Create Databricks managed service principal programatically ?

SunilPoluri
New Contributor

For the current Databricks service principal API or the Databricks SDK, an ID is required. However, when dealing with Databricks-managed service principals, you typically only have the name. For registering with cloud providers, like Microsoft Entra in your case, you'll have all the necessary details. Initially, you must create an Entra ID and then utilize the API or SDK to create an SPN in the workspace. Is there an alternative method for creating a Databricks-managed principal without starting with a Microsoft Entra ID principal?

2 REPLIES 2

Yeshwanth
Databricks Employee
Databricks Employee

@SunilPoluri, could you please provide some more context by providing screenshots?

giladba
New Contributor III

Have you found a solution on how to programmatically create a Databricks managed service principal?

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