Azure Files access — SMB identity sources, share-level roles, managed identities over SMB, NFS, and mount errors

How clients authenticate to Azure file shares and why mounts fail — the three SMB identity sources (AD DS, Entra Domain Services, Entra Kerberos), share-level RBAC roles and the default share-level permission, managed identities over SMB (SMBOAuth), NFS requirements (premium, network rules only, AZNFS for encryption in transit, the new Microsoft.FileShares provider), and the verbatim errors System error 5, 53, 67, 87, 1816, NFS access and encryption failures, with cause, check and fix.

markdownreferencev1K356-W7M0stage: operatetrust: officialservice: storageinterface: anyAzure Files SMB authenticationAD DS Azure FilesMicrosoft Entra Domain Services Azure FilesMicrosoft Entra Kerberos Azure FilesStorage File Data SMB Share ReaderStorage File Data SMB Share ContributorStorage File Data SMB Share Elevated ContributorStorage File Data SMB MI Admindefault share-level permission--default-share-permission--enable-files-aadkerb--enable-files-adds--enable-smb-oauthSMBOAuth managed identity file shareSystem error 5 has occurred. Access is denied.System error 53 has occurred. The network path was not found.System error 67 has occurred. The network name cannot be found.System error 87 has occurred. The parameter is incorrect.port 445 blockedNTLMv1 LmCompatibilityLevelError 1816 Not enough quotaopen handlesNFS Azure Files premium FileStorageNFS port 2049AZNFS mount helperRequire encryption in transit for NFSMicrosoft.FileSharesprovisioned v2Owner Contributor key access file share

Created 21 Oct 2026 · Modified 23 Oct 2026 · 1 version

Azure Files access and mount errors

Azure Files speaks SMB (identity-based or account key), NFS (network rules only, no user authentication) and REST over 443 (Entra ID with the File Data Privileged roles, or keys and SAS: reference/storage/access-models.md).

SMB identity sources (pick one per account)

SourceFitsClients
On-premises AD DSDomain-joined clients with line of sight to a domain controller; identities synced to Entra for RBACWindows (and Linux with extra setup)
Microsoft Entra Domain ServicesA managed domain in AzureDomain-joined to it; cloud-only or hybrid identities
Microsoft Entra KerberosEntra-joined or hybrid-joined clients, FSLogix, macOS, no domain controller connectivity; hybrid identities (needs AD DS synced through Entra Connect) or cloud-onlyWindows, macOS

Then two layers authorize: a share-level Azure role, and file/directory NTFS ACLs.

Share-level roleAccess
Storage File Data SMB Share ReaderRead
Storage File Data SMB Share ContributorRead, write, delete
Storage File Data SMB Share Elevated ContributorAlso change NTFS permissions

A default share-level permission (--default-share-permission StorageFileDataSmbShareReader and so on) applies to every authenticated identity that has no role: the way to give access to computer accounts, service accounts and identities not synced to Entra.

Managed identities over SMB (VMs and apps, no domain join): enable SMBOAuth on the account (--enable-smb-oauth true), keep Kerberos allowed in the account's SMB security settings, and grant Storage File Data SMB MI Admin. The client must not be domain-joined; it mounts with an OAuth token for the identity.

Owner and Contributor can list the account keys, and a key mounts any share as super-user. Removing someone's role doesn't revoke a key they already have: rotate the keys (and the account's Kerberos keys for AD DS).

SMB mount errors

MessageCause → fixCheck
System error 5 has occurred. Access is denied.(1) The client doesn't encrypt SMB (pre-SMB 3 client) while secure transfer or SMB encryption is required, and it isn't in the same datacenter; (2) the storage firewall doesn't allow the client; (3) share-level role missing for identity-based accessClient OS; az storage account show -n <acct> --query networkRuleSet.defaultAction; role assignments on the share
System error 53 has occurred. The network path was not found. / System error 67 has occurred. The network name cannot be found.Outbound TCP 445 blocked by the ISP or corporate firewall (common from on-premises); or NTLMv1 enabled on the clientTest-NetConnection -ComputerName <acct>.file.core.windows.net -Port 445; registry HKLM\SYSTEM\CurrentControlSet\Control\Lsa\LmCompatibilityLevel must be ≥ 3
System error 87 has occurred. The parameter is incorrect.NTLMv1 on the client: Azure Files accepts NTLMv2 onlySame registry value
Port 445 can't be openedUse a VPN or ExpressRoute with a private endpoint for file, Azure File Sync, or REST tools (Storage Explorer, AzCopy) over 443—
Error 1816 - Not enough quota is available to process this command / ERROR_UNEXP_NET_ERR (59) / Linux [permission denied] Disk quota exceededToo many open handles on a file or share: close themaz storage share list-handle / close-handle (with --auth-mode login where supported)
Can't modify, move or delete a fileAn open handle or lease from another clientSame
The user name or password is incorrect after a customer-initiated failoverFailover doesn't keep file handles or leases: unmount and remount the share—
Portal No access Error code: 403 on a shareThe storage firewall doesn't allow the portal client's networkNetwork rules; test briefly with all networks allowed
Entra Kerberos mount failsEntra Kerberos always encrypts service tickets with AES-256, so the client's supported encryption types must include it (Group Policy); the client also needs cloud Kerberos ticket retrieval enabled (CloudKerberosTicketRetrievalEnabled); hybrid identities must be syncedklist get cifs/<acct>.file.core.windows.net

NFS

  • Classic shares: premium (SSD) FileStorage accounts only, LRS or ZRS. Otherwise share creation fails.
  • Microsoft.FileShares (new, recommended for new NFS): file shares as top-level resources without a storage account, provisioned v2 billing only, NFS only; no AzCopy, Storage Explorer or Azure Backup.
  • No user authentication: access is decided by network rules, so clients must come through a private endpoint or a service endpoint with VNet rules. A client from an untrusted network gets access denied at mount.
  • Port 2049 must be open; install nfs-utils / nfs-common.
  • Encryption in transit: with Secure transfer required or Require encryption in transit for NFS on, a plain NFS mount fails: mount with the AZNFS mount helper, or (for classic shares) turn both settings off. Microsoft.FileShares requires encryption in transit by default.
  • chgrp "filename" failed: Invalid argument (22): Azure Files rejects alphanumeric UIDs/GIDs, so idmapping must be disabled on the client, and stay disabled (a bad file name, such as one with a colon, can make the NFS 4.1 client re-enable it): unmount, disable idmapping, remount.
  • Each user is limited to 16 group IDs per connection (an NFS protocol constraint).

Read this document as markdown — the same bytes an agent receives.