I have Azure File Sync setup on my file server. It is syncing files to my file server onpremise.
The goal is to stage files to Azure using Azure file sync, then once the sync is completed, to deploy out the mapped drives to the Azure file share and then turn the sync off to complete the migration of the file server. Since I have NTFS permissions on the file server folders, I want to use Azure File Sync to migrate the files with the NTFS permissions intact.
When I try to map to my network drive using the command (actual share names omitted for security purposes):
net use z: \filestorageaccountname.file.core.windows.net\filesharename
I get prompted for a username and password. "Enter the user name for 'filestorageaccountname.file.core.windows.net':"
I tried entering a test user account with permissions to the shares and the storage account but that did not work, I also tried domain\testuseraccount and password and that did not work.
I enabled authentication to SMB shares using AD DS for the storage account successfully using the service account.
I can mount the drive using the storage account key, but then it gives me access to folders which I should not have permission to access.
Anybody know why I'm being prompted for username and password when trying to map the drive without the storage account key?