Azure Machine Learning workspace cannot access Datastore, Container Registry

Vengathesa Sarma, Satya 0 Reputation points
2024-09-19T16:35:55.04+00:00

Hi,

I have created an Azure Machine Learning workspace, giving it a user-assigned identity. This identity has both a contributor role over the whole resource group, and a Key Vault Secrets Officer role over the key vault used by the AML workspace

It was working fine and I was able to run ML pipelines, until recently, Now the AML workspace can no longer access its default datastore, neither the container registry. The error I get is the following (see screenshot): User's image

Credential Service error due to user error.This can occur if the system assigned managed identity of the workspace does not have access to the key vault. Please add workspace managed identity as Contributor for the key vault associated with the workspace. Please make sure that you are passing valid secret names and that the keyvault https://keyvaultURL

The issue is that, the user-assigned identity of the workspace has both roles I mentioned and should be able to access the vault - it also worked in the past, and I do not know what causes this, since the managed identity was not modified.

What could have caused this issue and what fix can I implement? Deleting the workspace is not an option for now, as I have some Machine Learning real-time endpoints which I use

Thanks

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,259 questions
Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
447 questions
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,858 questions
0 comments No comments
{count} votes

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.