Authorizing Azure Files Access with Identities
Azure Files can authorize SMB access with domain identities. This lesson explains the identity sources and the two levels of permissions.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish between AD DS, Microsoft Entra Domain Services and Microsoft Entra Kerberos authentication.
- Describe the share-level RBAC roles and the default share-level permission.
- Explain how share-level and file-level permissions combine.
Identity sources
A storage account can enable one identity source for SMB access to Azure Files. On-premises Active Directory Domain Services (AD DS): the storage account is joined to the domain as a computer account or service logon account (with the AzFilesHybrid PowerShell module), clients are domain-joined or have line of sight to domain controllers, and user identities must be synchronized to Microsoft Entra ID for share-level permissions. Microsoft Entra Domain Services: a managed domain in Azure, for VMs joined to it. Microsoft Entra Kerberos: Microsoft Entra ID issues the Kerberos tickets, so clients need no line of sight to domain controllers; it supports hybrid identities and, since May 2026, cloud-only identities, which suits Microsoft Entra-joined devices and Azure Virtual Desktop with FSLogix.
| Identity source | Users | Client requirement |
|---|---|---|
| On-premises AD DS | Hybrid (synchronized) users | Domain-joined, line of sight to a domain controller |
| Microsoft Entra Domain Services | Users in the managed domain | Joined to the managed domain |
| Microsoft Entra Kerberos | Hybrid and cloud-only users | Microsoft Entra joined or hybrid joined |
Choosing an identity source
Share-level and file-level permissions
Access is checked at two levels, and both must allow the operation. Share-level permissions are Azure RBAC role assignments to users or groups: Storage File Data SMB Share Reader (read), Storage File Data SMB Share Contributor (read, write and delete) and Storage File Data SMB Share Elevated Contributor (also modify NTFS permissions). Instead of assigning roles to every user, a default share-level permission can apply one of these roles to all authenticated identities, which is useful when file-level ACLs already define access.
Directory and file-level permissions are Windows ACLs (NTFS permissions). They are set from a Windows client with File Explorer or icacls, after mounting the share with the storage account key or as a user with Elevated Contributor, and with Microsoft Entra Kerberos they can also be set in the Azure portal. Mounting the share with the account key bypasses identity-based authorization entirely, which is why the key should be reserved for administration.
The following diagram combines the share-level and NTFS permissions that decide whether a user can save files in an Azure file share.

Share-level and NTFS permissions
A user who cannot write
A storage account uses on-premises AD DS authentication for Azure Files. User1 has the Storage File Data SMB Share Reader role on the share Projects, and the NTFS permissions on the folder Projects\Design grant User1 Modify. User1 cannot save files in Design. What should you change?
Both levels must allow the operation, and the share-level role allows only reading. Assign Storage File Data SMB Share Contributor to User1 (or to a group that includes User1) on the share, or use a default share-level permission of Contributor. Changing NTFS permissions would not help, because they already allow Modify, and Elevated Contributor would grant more than needed.
Which share-level role allows a user to change NTFS permissions on files?
Show answer
Storage File Data SMB Share Elevated Contributor.
Exam Tips
Remember for the exam
- Share-level access: Storage File Data SMB Share roles; file-level access: Windows ACLs.
- Both share-level and file-level permissions must allow an operation.
- Microsoft Entra Kerberos needs no domain controller line of sight and supports cloud-only users.
- Elevated Contributor is needed to change NTFS permissions as a user.