user assigned identity being created in databricks

Crisjay Tomas 101 Reputation points
2022-08-23T10:25:18.17+00:00

I am creating databricks workspace using bicep and notice that a user assigned managed identity is being created alongside the managed storage account. What is this for?

234034-capture.png

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

Accepted answer
  1. PRADEEPCHEEKATLA 90,651 Reputation points Moderator
    2022-08-24T05:35:44.423+00:00

    Hello @Crisjay Tomas ,

    Thanks for the question and using MS Q&A platform.

    Does your main.bicep contains creation of the managed identity? If you unable to find these details in the bicep file - please do share the bicep file configuration.

    As per the repro from my end, I had used the Quickstart: Create an Azure Databricks workspace using Bicep which creates only databricks workspace.

    234328-image.png

    Every databricks workspace contains a Managed resource group databricks-rg-chepraadb-wkkixrswwykci which contains (Storage Account, Network Security Group and Virtual Network) as shown below.

    234347-image.png

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Crisjay Tomas 101 Reputation points
    2022-08-24T05:43:53.973+00:00

    Hi @PRADEEPCHEEKATLA ,

    This is what my main.bicep look like

    // ------------ parameters -----------
    @description('The resource name')
    param databricksWorkspaceName string

    @description('The resource location')
    param location string

    @description('The resource location')
    param dbwPricingTier string

    @description('The managed resource group Id.')
    param managedResourceGroupName string

    @description('The name of the Private Subnet within the Virtual Network')
    param dbwPrivateSubnetName string

    @description('The name of a Public Subnet within the Virtual Network')
    param dbwPublicSubnetName string

    @description('The ID of a Virtual Network where this Databricks Cluster')
    param dbwVirtualNetworkName string

    @description('Default DBFS storage account name.')
    param dbwstorageAccountName string

    @description('tags for resources')
    param tags object

    // ------------ variables ------------
    var dbwVnetID = resourceId('Microsoft.Network/virtualNetworks', dbwVirtualNetworkName)

    // ------------ deployments -----------
    resource databricksWorkspace 'Microsoft.Databricks/workspaces@2022-04-01-preview' = {
    name: databricksWorkspaceName
    location: location
    tags: tags
    sku: {
    name: dbwPricingTier
    }
    properties: {
    managedResourceGroupId: subscriptionResourceId('Microsoft.Resources/resourceGroups', managedResourceGroupName)
    parameters: {
    customPrivateSubnetName: {
    value: dbwPrivateSubnetName
    }
    customPublicSubnetName: {
    value: dbwPublicSubnetName
    }
    customVirtualNetworkId: {
    value: dbwVnetID
    }
    enableNoPublicIp: {
    value: true
    }
    prepareEncryption: {
    value: false
    }
    storageAccountName: {
    value: dbwstorageAccountName
    }
    storageAccountSkuName: {
    value: 'Standard_LRS'
    }
    }
    }
    }

    // ------------ output ----------------
    output databricksWorkspaceID string = databricksWorkspace.id

    output databaricksWorkspaceURL string = databricksWorkspace.properties.workspaceUrl


  2. Crisjay Tomas 101 Reputation points
    2022-09-22T11:48:50.097+00:00

    Hi @PRADEEPCHEEKATLA

    Thanks for answering however may I know what's this for? or is it safe to remove especially for storage account?

    0 comments No comments

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.