An Apache Spark-based analytics platform optimized for Azure.
That error means Unity Catalog cannot find the Azure managed identity credential that matches the Access Connector ID and optional Managed Identity ID entered for the metastore.
Use this checklist to fix it:
- Verify the access connector exists and was not deleted or recreated
The documented error
UC_AZURE_CREDENTIAL_NOT_FOUNDstates that the access connector may have been deleted or recreated, which breaks the storage credential mapping. - Confirm the Access Connector ID format is correct
In the metastore creation page, the Access Connector ID must be the full Azure resource ID in this format:
The value entered in the metastore must exactly match the existing connector resource./subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Databricks/accessConnectors/<connector-name> - Check whether the connector uses system-assigned or user-assigned managed identity
- If the access connector was created with a system-assigned managed identity, leave Managed Identity ID empty.
- If the access connector was created with a user-assigned managed identity, enter the full resource ID of that managed identity.
- Recheck the access connector configuration in Azure Portal
For the connector:
- Open Access Connector for Azure Databricks.
- On the Managed Identity tab, confirm whether Status is On for system-assigned identity, or confirm the expected user-assigned identity is attached.
- Make sure the managed identity has storage access
The managed identity used by the Unity Catalog storage credential must have the required RBAC on the ADLS Gen2 storage backing the metastore. A documented root cause is missing Storage Blob Data Contributor on the storage account or container.
In Azure portal:
- Go to the storage account backing the metastore.
- Open Access control (IAM) > Role assignments.
- Confirm the managed identity has Storage Blob Data Contributor.
- If missing, add that role assignment.
- Validate the ADLS path
When creating the metastore with managed identity-based root storage, the ADLS Gen2 path must point to the storage container used as root storage.
One document states the path must start with
abfss://. Another metastore creation flow states theabfss://prefix is added automatically in that UI. Use the format expected by the specific screen being used. - Create the metastore again with the corrected values
In the Azure Databricks account console:
- Go to Catalog
- Select Create Metastore
- Enter Name and Region
- Enter the ADLS Gen2 path
- Enter the correct Access Connector ID
- Enter Managed Identity ID only if using a user-assigned identity
- If the metastore or storage credential was previously created with a different identity model, recreate the storage credential For an existing metastore being upgraded from service principal to managed identity, the documented path is to recreate the storage credential by using the Databricks CLI with the access connector ID and, if applicable, the managed identity ID.
Most likely fix for the reported error:
- The connector resource ID is correct, but the connector was recreated after earlier configuration, or
- A Managed Identity ID is missing or incorrect for a user-assigned identity, or
- A system-assigned identity is being used but an incorrect managed identity value was expected.
The specific error class for this condition is:
-
UC_AZURE_MANAGED_IDENTITY_CREDENTIAL_NOT_FOUND: Azure Managed Identity Credential with Access Connector Id<accessConnectorId>and Managed Identity ID:<managedIdentityId>for Account Id:<accountId>could not be found.
References: