Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
Hi Admin D. Horton,
Thanks for reaching out in Microsoft Q&A forum,
When you are able to browse the Azure file share in the portal, and Test-NetConnection succeeds, but mapping the drive returns “Access Denied”, this typically indicates that networking is functioning correctly and the issue lies with authentication or authorization.
Based on your description, the storage account is reachable, the firewall is correctly configured, and SMB 3.1.1 is in use. The failure is occurring during identity validation or permission enforcement.
Azure Files with AD DS or Microsoft Entra authentication requires two permission layers:
1. Share-level (Azure RBAC)
Assign roles like Storage File Data SMB Share Reader, Contributor, Elevated Contributor, or Administrator.
These roles control access at the Azure level (control plane).
2. NTFS permissions (inside the file share)
- You must configure NTFS ACLs on the root folder of the share.
- RBAC alone is not enough without NTFS permissions, users will get **“**Access Denied”, even if authentication succeeds or they are subscription owners.
To confirm whether the issue is identity-related, temporarily map the drive using the storage account key:
net use Z: \\<storageaccount>.file.core.windows.net\<sharename> /user:Azure\<storageaccount> <storagekey>
If this works, the issue is definitively related to AD/Entra authentication or NTFS permissions.
You need to enable NTLM v2 authentication mechanism.
Reference:
- Troubleshoot Azure Files identity-based authentication and authorization issues (SMB) - Azure | Microsoft Learn
- Configure Directory and File Level Permissions for Azure Files | Microsoft Learn
- Troubleshoot Azure Files SMB connectivity and access issues - Azure | Microsoft Learn
Kindly let us know if the above helps or you need further assistance on this issue.
Please do not forget to
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.