none
Providing access to ADF V2 in File Share(in ADL Gen2)

    Question

  • In ADL Gen2 I have created a File Share. ADF has File System(On-Premises Folder) as Source & File Share as destination. Do we need to give access to ADF in FIle Share? If Yes then how to give access?

    Thanks & Regards,
    Preyash Vrat

    Tuesday, February 26, 2019 11:50 AM

All replies

  • Hi Preyash Vrat,

    Note: Using Azure Data Factory, you can copy the data to Azure Data Lake Gen2 file systems.

    You need to grant the managed identity proper permission.

    As source, in Storage Explorer, grant at least Read + Execute permission to list and copy the files in folders and subfolders or grant Read permission to copy a single file. Alternatively, in Access control (IAM), grant at least Storage Blob Data Reader role.

    As sink, in Storage Explorer, grant at least Write + Execute permission to create child items in the folder. Alternatively, in Access control (IAM), grant at least Storage Blob Data Contributor role.

    Note: To list folders starting from the root, you need to set the permission of the service principal being granted to at root level with "Execute" permission or permission on IAM. This is true when you use the:

    Copy Data Tool to author copy pipeline.

    Data Factory UI to test connection and navigating folders during authoring. If you have concern on granting permission at root level, you can skip test connection and input path manually during authoring. Copy activity will still work as long as the service principal is granted with proper permission at the files to be copied.

    For more details, refer “Copy data to or from Azure Data Lake Storage Gen2 using ADF”.

    Hope this helps.

    Friday, March 1, 2019 7:03 AM
    Moderator