How to setup folder level or file level permission on Azure File Share for different set of users?

%3CLINGO-SUB%20id%3D%22lingo-sub-485381%22%20slang%3D%22en-US%22%3EHow%20to%20setup%20folder%20level%20or%20file%20level%20permission%20on%20Azure%20File%20Share%20for%20different%20set%20of%20users%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-485381%22%20slang%3D%22en-US%22%3E%3CP%3EHello%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20possible%20to%20setup%20folder%20level%20or%20file%20level%20permissions%20on%20Azure%20File%20Share%20for%20different%20set%20of%20users%20with%20different%20kind%20of%20permissions%20using%20PowerShell%20or%20Azure%20Portal%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAvian%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-485381%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-488868%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20setup%20folder%20level%20or%20file%20level%20permission%20on%20Azure%20File%20Share%20for%20different%20set%20of%20user%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-488868%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3Ethe%20service%20is%20at%20the%20moment%20in%20preview%20and%20doesn%E2%80%99t%20support%20folder%20or%20file%20level%20permission%3A%3CBR%20%2F%3E%3CBR%20%2F%3EAre%20there%20REST%20APIs%20to%20support%20Get%2FSet%2FCopy%20directory%2Ffile%20NTFS%20ACLs%3F%3CBR%20%2F%3EThe%20preview%20release%20does%20not%20support%20REST%20APIs%20to%20get%2C%20set%2C%20or%20copy%20NTFS%20ACLs%20for%20directories%20or%20files.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Ffiles%2Fstorage-files-faq%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Ffiles%2Fstorage-files-faq%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20also%20keep%20in%20mind%2C%20On-Prem%20VMs%20are%20not%20supported%3CBR%20%2F%3E%3CBR%20%2F%3EAzure%20AD%20authentication%20over%20SMB%20is%20not%20supported%20for%20on-premises%20machines%20accessing%20Azure%20Files.%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Ffiles%2Fstorage-files-active-directory-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Ffiles%2Fstorage-files-active-directory-overview%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EFor%20my%20point%20of%20view%2C%20the%20better%20solution%20at%20the%20moment%20is%20azure%20file%20sync%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Ffiles%2Fstorage-sync-files-deployment-guide%3Ftabs%3Dazure-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fstorage%2Ffiles%2Fstorage-sync-files-deployment-guide%3Ftabs%3Dazure-portal%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%2C%3CBR%20%2F%3EHannes%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

Hello

 

Is this possible to setup folder level or file level permissions on Azure File Share for different set of users with different kind of permissions using PowerShell or Azure Portal?

 

Avian

1 Reply
Highlighted
Hi,

the service is at the moment in preview and doesn’t support folder or file level permission:

Are there REST APIs to support Get/Set/Copy directory/file NTFS ACLs?
The preview release does not support REST APIs to get, set, or copy NTFS ACLs for directories or files.
https://docs.microsoft.com/en-us/azure/storage/files/storage-files-faq

And also keep in mind, On-Prem VMs are not supported

Azure AD authentication over SMB is not supported for on-premises machines accessing Azure Files.
https://docs.microsoft.com/en-us/azure/storage/files/storage-files-active-directory-overview

For my point of view, the better solution at the moment is azure file sync
https://docs.microsoft.com/en-us/azure/storage/files/storage-sync-files-deployment-guide?tabs=azure-...

Regards,
Hannes