Mounting azure files | "The specified network password is not correct."

Barry Bahrami 11 Reputation points
2023-06-07T15:41:05.81+00:00

I have an azure file share setup, and it's set with ad ds using default creds of contributor. fairly basic.

trying to mount it to a domain joined VM so I can edit the permissions.

net use Z: \storagename.privatelink.file.core.windows.net\sharename /user:localhost\storagename keyjkjljkljkkjkjkjjkjkjkjkjEyXL1rv2i+QsgpSE13H92sHCl+AStcH8XHw==

I know the IP link is good. But net use gives me "The specified network password is not correct."

Under 'security' in the share, I've tried everything. currently set to custom with all on but smb 2

I have also set IAM to grant smb contributor role.

I appreciate any help. thank you much

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,169 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,716 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Manu Philip 16,986 Reputation points MVP
    2023-06-07T18:43:45.41+00:00

    Azure Files only allows connections using SMB 3.0 from outside the region or datacenter. Are you getting in to trouble because of this reason?

    If the reason is not because of region or datacenter selection, check if the port 445 is blocked in the pipe towards Azure IP ranges. at the ISP end or at the internal IT space. Unblock this reason and check the file mounting again


    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. Sumarigo-MSFT 43,801 Reputation points Microsoft Employee
    2023-06-13T09:48:58.8266667+00:00

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

    Ensure port 445 is open: The SMB protocol requires TCP port 445 to be open. Connections will fail if port 445 is blocked. You can check if your firewall or ISP is blocking port 445 by using the Test-NetConnection cmdlet. See Port 445 is blocked.

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

    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

    You can also use AzFileDiagnostics to ensure that the Windows client environment has correct prerequisites. AzFileDiagnostics automates detection of most of the symptoms mentioned in this article and helps set up your environment.

    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.