- last edited on
I'm using the Azure file service to store some archived files. I'm using the connection string autocreated by Microsoft to try and map a drive.
net use Z: \\mystorageaccount.file.core.windows.net\archive /u:AZURE\mystoreageaccount longautogeneratedpasswordbymicrosoft==
The error I get is
System error 86 has occurred.
The specified network password is not correct.
I've tried this on a couple of different machines (W10 and Win Server 2012 R2) with the same results.
I can however use the file AzFileDiagnostics.ps1 from https://gallery.technet.microsoft.com/Troubleshooting-tool-for-a9fa1fe5 to connect to the file store and map a share. Does anyone have a view why powershell works and the net use command does not.
Net user commands works. But in here when we copy from the Microsoft generated command the storage key (password) was not copying correctly.
You have to delete the password and copy the storage key(password) from the storage account and use it.