Azure data bricks bicep module redeployment deleting properties.authorizations

Smriti, Smriti 65 Reputation points
2023-10-03T09:18:05.5366667+00:00

I am trying to redeploy bicep module for Azure DataBricks and on each redeploy it deletes the Service principle which is in properties.authorizations configuration in ADB. However, i have not included properties.authorizations in my bicep template. I am not sure which Service principle it is because there is no such Service principle in Active directory. Testing in different environments, I found out that this Service principal object id is same for all the ADBs in dev, stg and prd irrespective of their tenant.

User's image

Please suggest what this Service principle is and what is its use.

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,533 questions
{count} votes

Accepted answer
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2023-10-05T22:04:08.84+00:00

    Hello Smriti, Smriti,

    The service principal you see in the ARM template is the default service principal used by the workspace provider. This is a managed identity that performs operations on behalf of the workspace.

    The service principal is used to grant access to the workspace provider to the Azure resources that are required for the workspace. The service principal has the same object ID and owner role for all the workspaces in your subscription, but it may differ across different tenants or subscriptions.

    You can use a custom service principal instead of the default one if you want to have more control over the permissions and roles of the workspace provider.

    Using the properties, you can specify a custom service principal in your bicep template authorizations configuration

    fo that, you will need to create an Azure service principal in your Azure account first. Please see the below document.

    https://learn.microsoft.com/en-us/azure/databricks/administration-guide/users-groups/service-principals

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.