Error 86 mapping Azure SMB File Share from Win10

Brandon Paulk 0 Reputation points
2023-03-23T19:01:57.45+00:00

Difficult problem that I have banged my head on for almost a week with no signs of making progress. Any help would be greatly appreciated. I know the "86" error has several documented fixes but none have worked for me so far. If I can provide any additional information, please ask.

Synopsis:
We are moving file servers into the cloud and I want to use Azure file shares for our migration. We have an on-premise AD and an Azure tenant. I want my users to be able to access these file shares using their AD credentials from anywhere in the world, with no VPN requirement.

Configuration:

1.) Storage Account: created in Azure & in on-prem AD (both computer & user accounts).
2.) Storage Account: all Azure AD users temporarily have "Owner" role.

3.) File Share: configured with "Azure AD Kerberos" Active Directory.
4.) File Share: default share-level permissions configured with "Read-Only".
5.) File Share: security set to "Maximum Compatibility".

6.) Networking: port 445 has been confirmed open to Azure.
7.) Networking: public network access enabled.

8.) Workstation: Windows 10 Enterprise 20H2 - joined to on-premise domain, logged in with O365-enabled account.
9.) Workstation: registry key "CloudKerberosTicketRetrievalEnabled" set to 1
10.) Workstation: local security policy LAN Manager Authentication Level set to "Send NTLMv2 response only".
11.) Active Directory: synced to Azure via AAD Connect (password sync, no writeback)

"DSRegCmd /status" Results:
AzureAdJoined : YES
EnterpriseJoined : NO
DomainJoined : YES
DomainName : <on-prem domain>
Device Name : <computer>.<on-prem domain>

"Net Use" Results:

net use Z: \<storage account>.file.core.windows.net<share name> /User:<O365_Login> /PERSISTENT:YES
Enter password for "<O365_Login"> to connect to '<storage account>.file.core.windows.net: <entered password>

System error 86 has occurred.
The specified network password is not correct.

Interestingly, if I change the local security policy LAN Manager authentication level, I get different results. See below.

"Send LM & NTLM Responses"

  • error 53 - network path not found.

 "Send LM & NTLM Responses - use NTLMv2 if negotiated"

  • error 53 - network path not found.

 "Send NTLM responses only"

  • error 53 - network path not found.

 "Send NTLMv2 responses only"

  • error 1326 - user name or password is incorrect.

 "Send NTLMv2 responses only - refuse LM"

  • error 1326 - user name or password is incorrect.

 "Send NTLMv2 responses only - refuse LM & NTLM"

  • error 86 - the specified network password is not correct.
Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,156 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Ayomide Oluwaga 941 Reputation points
    2023-03-23T19:26:29.83+00:00

    It seems that you have configured everything correctly on the Azure side, and you are getting an error on the client-side when trying to access the Azure file share using the net use command. The error indicates that the specified network password is not correct.

    Based on the information you have provided, it appears that you are using your O365-enabled account to access the file share. The first thing I would suggest is to verify that the password for the O365-enabled account is correct. You can try logging in to Office 365 using the same credentials to confirm this.

    If the password is correct, then I would suggest checking the following:

    1. Check the time synchronization between the client machine and the domain controller. Ensure that the time zone and the time are correct.
    2. Ensure that the DNS is set up correctly and can resolve the domain name of the on-premises domain controller.
    3. Verify that the client machine is properly joined to the on-premises domain.
    4. Ensure that the Azure AD Connect tool is configured correctly, and the password synchronization feature is enabled.
    5. Try using the IP address of the Azure file share instead of the hostname when connecting.
    6. Ensure that the O365-enabled account has the necessary permissions to access the Azure file share.
    7. Try using a different user account to connect to the Azure file share.

    I hope this helps you resolve the issue. If the problem persists, please let me know, and we can explore other potential solutions.


  2. Ayomide Oluwaga 941 Reputation points
    2023-03-27T23:36:49.9+00:00

    I found some links that addresses this same issues as far back as 2009, I would like you to have a look, perharps a simple information there might help you solve the issue:

    System error 86 has occurred. The specified network password is not correct:

    https://answers.microsoft.com/en-us/windows/forum/all/system-error-86-has-occurredthe-specified-network/6dbfc4a0-de6e-493f-ba7b-7b0f56d5b410

    https://answers.microsoft.com/en-us/windows/forum/windows_vista-networking/windows-logon-unsuccessful-during-map-network/055d61a5-00d0-4798-9e98-66e6ba0726de?page=2

    Error 1326 when you change domain account password in Windows:

    https://support.microsoft.com/en-us/topic/error-1326-when-you-change-domain-account-password-in-windows-a238729e-4b79-b9e2-ebfa-2967c91ef5bf