ADLS Container level access

Naga 66 Reputation points
2021-10-27T14:44:32.237+00:00

Hi Team,

Unable to find container level access in ADLS to individual users. Please provide some leads.

For Example - If ADLS consists 20 users with 20 containers and in that, each user need to access individual container only, and the user shouldn't have access to the containers.

Thanks in Advance !!!

Regards,
NagaSri

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,338 questions
{count} votes

Accepted answer
  1. svijay-MSFT 5,201 Reputation points Microsoft Employee
    2021-10-28T18:05:40.46+00:00

    Hello @Naga ,

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

    From my understanding you'd like provide access to a user to a container - for 20 such instances.

    One option is to make use of the RBAC (Role based Access Control)

    1. On the Azure Portal, find the container you wish to grant access to
    2. On the left pane, click on Access control (IAM)
    3. On the top, click on Add -> Add role assignment
    4. For Role, select the role you wish the members to have. For containers & blobs, consider adding roles with the Storage Blob Data prefix
    5. Leave Assign access to as default
    6. Under Select, find the user you'd like to grant access for.
    7. Click Save

    You'll have to repeat the above steps for other users and other containers.

    144649-image.png

    The other option is that you can making use of the ACL. You could set an ACL at the container level by following the below step.

    Container --> Manage ACLS --> Add Principal

    144640-image.png

    Reference : https://learn.microsoft.com/en-us/azure/storage/blobs/data-lake-storage-access-control#how-to-set-acls

    Note : For an ADLSGEN2 based storage accounts we have ACL level access at the Folder level .

    The below is how the permissions are evaluated.

    Note: Azure role assignments are evaluated first and take priority over any ACL assignments.

    144684-image.png

    You could refer this document to further understand ACLs and RBAC

    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 how you can be part of Q&A Volunteer Moderators

0 additional answers

Sort by: Most helpful