@Parth Soni Thanks for reaching out to Microsoft Q&A.
It sounds like you're having trouble getting the ACLs to work as expected in your Azure Data Lake Storage Gen2 setup. To help you troubleshoot the issue, I would recommend checking the following:
- Make sure that the Azure role assignments are correctly configured for the service principal. The role assignments take priority over the ACLs, so if the service principal has write access through a role assignment, the ACLs will not be evaluated.
- Verify that the ACLs are correctly set on the directories and files. You can use the Azure portal, Azure CLI, or Azure Storage REST API to view and modify the ACLs.
- Ensure that the service principal has the correct permissions to perform the operations you want it to perform. For example, if you want the service principal to write to a directory, it needs to have write permissions on that directory.
- If you're still having trouble, you can try using the Azure Storage REST API to perform the operations and see if you get any error messages that can help you diagnose the issue.
Please refer to this document that shows you - How the permissions are evaluated for ACLS in ADLS Gen2-
If you're still having trouble, please provide more details about your setup and the exact error messages you're encountering so I can assist further. Thank you!
Remember:
Please accept an answer if correct. 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.