How to fix issue regarding creation of metastore

Shubham 0 Reputation points
2026-08-11T11:53:11.7566667+00:00

I am trying to enable the unity catalog. for that I create databricks access connector and give access to adls and pass ADLS path and resource id to databricks admin console but showing below error. Azure Managed Identity Credential with Access Connector Id /subscriptions/7c585268-20a0-4c57-b952-bf6a47dd315a/resourceGroups/shubh_rg/providers/Microsoft.Databricks/accessConnectors/shubh_connect and Managed Identity ID: for Account Id: 1b687630-77a8-4ff1-888e-a2837de30bf8 could not be found. please help on this issue

Azure Databricks
Azure Databricks

An Apache Spark-based analytics platform optimized for Azure.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Peram Venkateswara Reddy 255 Reputation points Microsoft External Staff Moderator
    2026-08-11T12:23:13.9633333+00:00

    Hi @Shubham , Hope you are doing well.

    That error means Unity Catalog can't resolve the managed identity behind your Access Connector in the Databricks account context — it isn't a storage permissions failure, so it happens before any ADLS access is attempted. Note your error string shows Managed Identity ID: as empty, which is correct if the connector uses a system-assigned identity.

    Before anything else — do you actually need to create a metastore?

    Databricks began enabling new workspaces for Unity Catalog automatically on November 9, 2023, and the docs are explicit: "You must follow the instructions in this page only if you have a workspace and don't already have a metastore in your workspace region." Only one metastore is permitted per region. In the account console, go to Catalog and check whether a metastore already exists in your workspace's region — if it does, you attach your workspace to it rather than creating a new one, and this error goes away entirely.

    If you do need to create one, here's the check that matters most

    Rather than repeat the checklist above, let me point you at what has actually resolved this for other people, because several customers hit this error with a fully correct configuration.

    On this thread the customer confirmed same tenant, same subscription, same region, system-assigned identity enabled, metastore admin privileges, and the resource ID copied directly from the connector's resource page — and still got your exact error. The resolution from Manoj Kumar Boyini (Microsoft) was:

    "In some cases, the Databricks UI can fail to resolve the Access Connector even when the configuration is correct, while the CLI/API path succeeds because it bypasses UI-level validation. When using a system-assigned Access Connector, only the access_connector_id is required (the same value you're already using in the UI)."

    So try creating the storage credential via the Databricks CLI instead of the account console UI, passing only the access connector ID with no managed identity ID. If it succeeds via CLI, that confirms the problem is UI-side rather than an identity or permissions issue — and you've saved yourself from rebuilding resources that were never broken.

    CLI setup: https://learn.microsoft.com/azure/databricks/dev-tools/cli/

    Quick checks worth doing first (they take two minutes)

    • Confirm the identity is actually provisioned. Open the Access Connector → Managed Identity tab and verify a principalId / objectId is present. If there's no principal ID, the identity isn't ready yet. If you created the connector and retried immediately, wait 5–10 minutes for propagation and try again — this is a very common cause of this specific error.
    • Region alignment. The metastore region must match the Access Connector and storage account region.
    • Role scope. If Storage Blob Data Contributor is only assigned at the storage account level, try assigning it at the container level as well.
    • Account admin. Metastore creation happens at account level, so confirm you're an account admin in the Databricks account console — workspace admin is not sufficient.

    A note on your post

    You've included your full subscription ID and Databricks Account ID in the question. Neither is a secret on its own, but you may want to edit them out or mask them — the error is reproducible without them.

    References

    Kind Regards,
    Microsoft Support Team.

    Was this answer helpful?

    0 comments No comments

  2. Jose Benjamin Solis Nolasco 10,891 Reputation points Volunteer Moderator
    2026-08-11T12:13:13.1733333+00:00

    Hello @Shubham I hope you are doing,

    The error indicates that Unity Catalog cannot find the managed identity credential associated with the Azure Databricks Access Connector.

    I recommend checking these items first:

    1. Verify the Access Connector exists and that its resource ID exactly matches the one entered in the Databricks account console:
    /subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Databricks/accessConnectors/<connector-name>
    

    Check the managed identity configuration on the Access Connector:

    For a system-assigned managed identity, the Managed Identity ID field should normally be left empty.

      For a **user-assigned managed identity**, make sure the correct managed identity resource ID is provided.
      
      **Verify RBAC on the ADLS Gen2 storage account/container.** The managed identity used by the Access Connector should have the required **Storage Blob Data Contributor** role.
      
      If the Access Connector was **deleted and recreated**, make sure you are using the resource ID and identity of the newly created connector. Recreating the connector can invalidate the previous Unity Catalog credential association.
      
    

    After correcting the identity configuration, try creating the metastore again.

    References:

    Use Azure managed identities in Unity Catalog

    Create a Unity Catalog metastore

    Azure Databricks error classes

    Based on the error shown UC_AZURE_MANAGED_IDENTITY_CREDENTIAL_NOT_FOUND, I would check the Access Connector identity and its association with the Databricks account first, before troubleshooting the ADLS path.

    Was this answer helpful?

    0 comments No comments

  3. AI answer

    2026-08-11T11:53:43.85+00:00

    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:

    1. Verify the access connector exists and was not deleted or recreated The documented error UC_AZURE_CREDENTIAL_NOT_FOUND states that the access connector may have been deleted or recreated, which breaks the storage credential mapping.
    2. 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:
         /subscriptions/<subscription-id>/resourceGroups/<resource-group>/providers/Microsoft.Databricks/accessConnectors/<connector-name>
      
      The value entered in the metastore must exactly match the existing connector resource.
    3. 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.
    4. 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.
    5. 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.
    6. 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 the abfss:// prefix is added automatically in that UI. Use the format expected by the specific screen being used.
    7. 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
    8. 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:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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