Download read only file from azure data lake gen2

Pankaj Joshi 286 Reputation points

I am using azure data factory and I have to copy/download READ ONLY file residing in azure data lake gen2 to storage blob.

Is it possible to download file (marked as READ ONLY) from Azure Data Lake gen2? Please advise

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,376 questions
Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
489 questions
Azure Data Lake Analytics
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 80,251 Reputation points Microsoft Employee

    Hello @Anonymous ,

    Thanks for the question and using MS Q&A platform.

    Yes, it is possible to download a file marked as Read only from Azure Data Lake Gen2.

    To access blob data with the account access key, you must have an Azure role assigned to you that includes the Azure RBAC action Microsoft.Storage/storageAccounts/listkeys/action. This Azure role may be a built-in or a custom role. Built-in roles that support Microsoft.Storage/storageAccounts/listkeys/action include the following, in order from least to greatest permissions:

    • The Reader and Data Access role
    • The Storage Account Contributor role
    • The Azure Resource Manager Contributor role
    • The Azure Resource Manager Owner role

    As per the repro - I had provide the user with Reader and Data Access role permission on the ADLS gen2 account.


    And I'm able to successfully download the file from Azure Data Lake Gen2 account.


    For more details, refer to Choose how to authorize access to blob data in the Azure portal

    Hope this will help. Please let us know if any further queries.


    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is jhow you can be part of Q&A Volunteer Moderators
    0 comments No comments