Have previously been able to map a received dataset to data store. But have been unable to do so today - OK button does not become enabled after selecting a data store folder. Has something changed?

Richard Krueger 5 Reputation points
2024-05-23T23:29:39.0033333+00:00

I received some (Azure Data Lake Storage Gen2 Folder) datasets from an outside (partner) organization through a data share invite. Previously was able to map the dataset to a folder in one of my (Azure Blob Storage) data stores, but today the OK button has not been made available after selecting the desired folder in the data store.

Through troubleshooting I added myself to the Contributor role on both the data share and the storage account.

OK button still did not become available.

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,394 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nehruji R 3,651 Reputation points Microsoft Vendor
    2024-05-27T14:08:01.6733333+00:00

    Hello Richard Krueger,

    Greetings! Welcome to Microsoft Q&A Platform.

    I understand that you are trying to receive data from Azure Data Lake Storage Gen2 to an Azure Blob Storage data store using Azure Data Share.

    If you're sharing data or receiving data from the Azure data store for the first time, you also need the Microsoft.Authorization/role assignments/write permission. This permission is typically part of the Owner role. Even if you created the Azure data store resource, you're not necessarily the owner of the resource.

    The following errors might appear when you create a new share, add datasets, or map datasets:

    • Failed to add datasets.
    • Failed to map datasets.
    • Unable to grant Data Share resource x access to y.
    • You don't have proper permissions to x.
    • We couldn't add write permissions for the Azure Data Share account to one or more of your selected resources.

    You might see one of these errors if you have insufficient permissions to the Azure data store. For more information, see Roles and requirements.

    You need the write permission to share or receive data from an Azure data store. This permission is typically part of the Contributor role. When you have the proper permissions, the Azure Data Share service automatically allows the data share resource's managed identity to access the data store. refer - https://learn.microsoft.com/en-us/azure/data-share/data-share-troubleshoot#creating-and-receiving-shares for more detailed information.

    This process can take a few minutes. If you experience failure because of this delay, try again after a few minutes.

    Also, consider checking the below following factors to overcome the issue as you updated that the Ok button is not available to select,

    • Ensure you have registered the Microsoft.DataShare resource provider in the Azure subscription where you'll create a Data Share resource and the Azure subscription where your target Azure data stores are located.
    • Permission to write to the storage account, which is present in Microsoft.Storage/storageAccounts/write. This permission exists in the Storage Account Contributor role.
    • Permission to add role assignment to the storage account, which is present in Microsoft.Authorization/role assignments/write. This permission exists in the Owner role.
    • Make sure that the Hierarchical Namespace feature is enabled for your storage account. This feature provides support for Azure Data Lake Storage Gen2. To enable it, go to the Advanced tab when creating a storage account and enable the hierarchical namespace option.

    refer - https://learn.microsoft.com/en-us/azure/data-share/how-to-configure-mapping

    If the OK button is still not available after selecting the folder, double-check that you’ve followed the correct steps and that there are no errors or missing information.

    Hope this answer helps! Please let us know if you have any further queries. I’m happy to assist you further.


    Please "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.