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: 

Compute configuration : single user with service principal of azure data datafactory ?

MDV
New Contributor III

Is it possible to have the service principal (ID) of an Azure data factory as the Single user access on an databricks cluster ?

MDV_0-1730973817325.png

Reason I'm asking is because we are starting to use unity catalog , but would still have the need to execute stored procedures using jdbc on an Azure DB, and this is impossible using Unity Catlog (or if anyone knows a workaround, please share). In single user mode this is possible.

See Running Stored Procedures on a Multi-node/ Shared ... - Databricks Community - 10863

Thanks 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

BigRoux
Databricks Employee
Databricks Employee

Yes, this is possible. First, create a new service principal in Azure or use an existing one. This could be either a managed identity from Azure Data Factory or a manually created service principal in Microsoft Entra ID (formerly Azure AD). Next, in your Databricks workspace, go to Admin Settings > Service Principals, and add the service principal by entering its Application ID.

 

Moreover, Databricks supports a single user access mode for clusters, where only one user or service principal has access. This mode is compatible with Unity Catalog and ensures that all operations on the cluster are executed under the identity of the specified user or service principal

Hope this helps.

View solution in original post

2 REPLIES 2

BigRoux
Databricks Employee
Databricks Employee

Yes, this is possible. First, create a new service principal in Azure or use an existing one. This could be either a managed identity from Azure Data Factory or a manually created service principal in Microsoft Entra ID (formerly Azure AD). Next, in your Databricks workspace, go to Admin Settings > Service Principals, and add the service principal by entering its Application ID.

 

Moreover, Databricks supports a single user access mode for clusters, where only one user or service principal has access. This mode is compatible with Unity Catalog and ensures that all operations on the cluster are executed under the identity of the specified user or service principal

Hope this helps.

MDV
New Contributor III

It worked, but we had to create the cluster using an API call, we couldn't select the service principle as user

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