a month ago
Subject: Storage Credential creation fails with "Access Connector ... could not be found" despite fully verified Azure configuration
Hi all,
I'm trying to create a storage credential (Azure Managed Identity) for Unity Catalog on a Premium Azure Databricks workspace, and consistently get this error:
"Azure Managed Identity Credential with Access Connector Id <access-connector-resource-id> and Managed Identity ID: for Account Id: <databricks-account-id> could not be found."
I've verified every piece of the Azure-side configuration via Azure CLI and it all checks out:
1. `az databricks access-connector show` โ provisioningState is "Succeeded", identity.type is "SystemAssigned", and a valid principalId is present.
2. `az role assignment list --assignee <principalId>` โ confirms "Storage Blob Data Contributor" is correctly assigned on both the target storage account and the resource group.
3. `az account show --query tenantId` โ matches the Access Connector's tenantId exactly.
4. Confirmed there is only one Azure AD tenant on this account, so a tenant mismatch shouldn't be possible.
5. Tried creating the credential while logged in as two different account-admin identities โ same error both times.
6. Also hit a separate error when trying to switch accounts in the account console: "Selected user account does not exist in tenant 'Microsoft Services' and cannot access the application '2ff814a6-3304-4ab8-85cb-cd0e6f879c1d' in that tenant..." โ not sure if related.
Since every Azure-side setting checks out, this feels like it could be a backend issue with how the Databricks account is resolving/linking the Access Connector, rather than anything actually misconfigured on my end.
Has anyone run into this and found a fix? Happy to share more diagnostic details (with IDs redacted) if it helps.
Thanks in advance!
a month ago
Great troubleshooting so far. The fact that every Azure-side check passes cleanly but the storage credential creation still fails is a strong signal that this is a backend registration issue, not a misconfiguration on your end.
az identity create -n temp-reregister-uai \
-g <your-resource-group> -l <your-region>
az resource update \
--ids <access-connector-resource-id> \
--set identity.type="SystemAssigned, UserAssigned" \
identity.userAssignedIdentities.<uai-resource-id>={}โAlternatively, try the Databricks CLI instead of the Account Console UI. Another community member reported that the same operation that failed in the web UI succeeded through the CLI. You can create the storage credential using.
databricks storage-credentials create --json '{
"name": "<credential-name>",
"azure_managed_identity": {
"access_connector_id": "<access-connector-resource-id>"
}
}'
For the full setup steps, see Use Azure managed identities in Unity Catalog to access storage.
In terms of the separate account-switching error.. "Selected user account does not exist in tenant 'Microsoft Services'" error with application ID 2ff814a6-3304-4ab8-85cb-cd0e6f879c1d is a Microsoft Entra ID authentication issue, not directly related to the storage credential problem. It typically means the identity you're using to sign into the Account Console isn't recognised in the tenant associated with that application. It shouldn't block storage credential creation, but it's worth confirming that the identity you're using to log into the Databricks Account Console belongs to the same Entra ID tenant as your Access Connector's subscription.
If the identity-touch workaround and the CLI approach both fail, this is likely something that needs backend investigation by Databricks Support. Open a support case referencing the UC_AZURE_MANAGED_IDENTITY_CREDENTIAL_NOT_FOUND error and include your Access Connector resource ID and Databricks Account ID. The support team can verify whether the internal credential registration exists and re-trigger it if needed.
Hope this helps.
If this answer resolves your question, could you mark it as โAccept as Solutionโ? That helps other users quickly find the correct fix.
3 weeks ago
Thank you so much for the help! The Storage Credential creation was failing with the "Access Connector ... could not be found" error, and the workaround you provided worked and resolved it completely. Really appreciate you taking the time to walk through this โ thanks a lot!
a month ago
Great troubleshooting so far. The fact that every Azure-side check passes cleanly but the storage credential creation still fails is a strong signal that this is a backend registration issue, not a misconfiguration on your end.
az identity create -n temp-reregister-uai \
-g <your-resource-group> -l <your-region>
az resource update \
--ids <access-connector-resource-id> \
--set identity.type="SystemAssigned, UserAssigned" \
identity.userAssignedIdentities.<uai-resource-id>={}โAlternatively, try the Databricks CLI instead of the Account Console UI. Another community member reported that the same operation that failed in the web UI succeeded through the CLI. You can create the storage credential using.
databricks storage-credentials create --json '{
"name": "<credential-name>",
"azure_managed_identity": {
"access_connector_id": "<access-connector-resource-id>"
}
}'
For the full setup steps, see Use Azure managed identities in Unity Catalog to access storage.
In terms of the separate account-switching error.. "Selected user account does not exist in tenant 'Microsoft Services'" error with application ID 2ff814a6-3304-4ab8-85cb-cd0e6f879c1d is a Microsoft Entra ID authentication issue, not directly related to the storage credential problem. It typically means the identity you're using to sign into the Account Console isn't recognised in the tenant associated with that application. It shouldn't block storage credential creation, but it's worth confirming that the identity you're using to log into the Databricks Account Console belongs to the same Entra ID tenant as your Access Connector's subscription.
If the identity-touch workaround and the CLI approach both fail, this is likely something that needs backend investigation by Databricks Support. Open a support case referencing the UC_AZURE_MANAGED_IDENTITY_CREDENTIAL_NOT_FOUND error and include your Access Connector resource ID and Databricks Account ID. The support team can verify whether the internal credential registration exists and re-trigger it if needed.
Hope this helps.
If this answer resolves your question, could you mark it as โAccept as Solutionโ? That helps other users quickly find the correct fix.
3 weeks ago
Thank you so much for the help! The Storage Credential creation was failing with the "Access Connector ... could not be found" error, and the workaround you provided worked and resolved it completely. Really appreciate you taking the time to walk through this โ thanks a lot!