Troubleshoot Azure Databricks workspace creation

This article describes common errors during Azure Databricks workspace creation and how to fix the errors.

Not authorized to perform action Microsoft.ManagedIdentity/register/action

Issue: You see the following error when you try to create an Azure Databricks workspace:

The client '<client-id>' with object id '<object-id>' does not have authorization to perform action 'Microsoft.ManagedIdentity/register/action' over scope '/subscriptions/<subscription-id>' or the scope is invalid. If access was recently granted, please refresh your credentials.

Recommended fix: Make sure you meet one of the following requirements for Azure Databricks workspace creation:

  • You must be an Azure Contributor or Owner.
  • The Microsoft.ManagedIdentity resource provider must be registered in your subscription. See Register resource provider in the Azure documentation.

Cluster launch errors

For information on cluster launch errors after workspace creation, see Troubleshoot compute issues.