Mapping Azure File Share "Specified Network Password is not correct"

Andy Bolk 10 Reputation points
2023-05-09T19:51:04.7033333+00:00

I have 4 storage accounts created in an Azure subscription and as far as I can tell they are all configured the same. They are all set up to use AD auth and are all using a private end point. 1 of the storage accounts I can map to a local drive just fine using the PowerShell script that is provided. When I try to map any of the other 3 I get an error message that says "The specified network password is not correct." Is there something with DNS or AD DS that could be causing this issue? Any help is appreciated.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,200 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,820 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 44,496 Reputation points Microsoft Employee
    2023-05-11T10:12:50.3233333+00:00

    @Andy Bolk Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    • When exactly are you getting this error message?
    • Are you using the On-premises Active Directory Domain Services (AD DS) for authentication? If so, On-premises Active Directory Domain Services (AD DS) integration with Azure Files provides the methods for storing directory data while making it available to network users and administrators. Security is integrated with AD DS through logon authentication and access control to objects in the directory. With a single network logon, administrators can manage directory data and organization throughout their network, and authorized network users can access resources anywhere on the network. AD DS is commonly adopted by enterprises in on-premises environments or on cloud-hosted VMs, and AD DS credentials are used for access control. For more information, see Active Directory Domain Services Overview.

    Refer to this article which provides detailed information Overview - on-premises Active Directory Domain Services authentication over SMB for Azure file shares

    • You have verified that they are using the right credentials to connect (the User ID or password used to connect to the Azure Files share would be wrong.)?
    • Check the storage account firewall configuration. Ensure that the firewall is correctly configured to allow access from the client machine's IP address or subnet.
    • Check the network connectivity between the client machine and the storage account. Ensure that there are no network issues that are preventing the client machine from connecting to the storage account.

    Based on the error message, please refer to the suggestion mentioned in the below link.

    https://learn.microsoft.com/en-us/answers/questions/869793/azure-files-network-password-is-not-correct-when-u

    I would also recommended to cross verify the perquisites
    Overview - on-premises Active Directory Domain Services authentication over SMB for Azure file shares

    There is a video which gives detailed information on Azure files Integration with AAD

    Replacing on-premises file servers with Azure Files (including setup on private link for files and AD authentication)

    Additional information: Azure Files, network password is not correct when using storage account key
    Network password incorrect using Azure AD DS Identity

    If the issue still persist, Can you please share the complete screenshot of the error message? I would like to work closer on this issue


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.