Error when accessing datastore. Unable to access data because it does not exist, is behind a virtual network, or you do not have Storage Blob Data Reader role on this storage account.

Murali Relamadugu 0 Reputation points Microsoft Employee
2024-03-11T23:22:06.7133333+00:00

Error when accessing datastore. Unable to access data because it does not exist, is behind a virtual network, or you do not have Storage Blob Data Reader role on this storage account.

workspaceartifactstore data store authentication type updated with managed Identity. And i have updated the AML workspace details in Storage Account as Contributor and Storage Blob Data Contributor.

User's image

User's image

But still i'm seeing the exception while browsing data preview.

User's image

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,335 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 48,906 Reputation points Microsoft Employee Moderator
    2024-03-12T09:49:56.4233333+00:00

    @Murali Relamadugu I have seen the following message while trying to update the same setting on my default workspaceartifactstore.

    We could not verify whether the workspace managed identity has sufficient permissions on the resource to enable data access.Please ensure the following permissions have been assigned to the workspace managed service identity on the resource:

    • Microsoft.Storage/storageAccounts/read must be assigned on the resource.
    • Microsoft.Storage/storageAccounts/blobServices/containers/read must be assigned on the resource.
    • Microsoft.Network/privateEndpoints/read must be assigned on the resource.
    • Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read must be assigned on the resource.

    I think the access you have provided should cover all the above permissions except for privateEndpoints/read.

    Also, this feature is for cases where your workspace is secured with a virtual network and you want to use the studio to preview data, is this the scenario in your case where the workspace is secured in a different virtual network?

    0 comments No comments

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.