Map the Azure file share to a Windows drive- On VM level not basis on User level access

SanthoshKumar S 1 Reputation point

Folks, I need to provide mapped drive on one of the Azure VM, created the file share on storage account and completely setup is done. I could access the mapped drive on the VM after running powershell script on user level but i need to map the drive on VM level so that all the user connected to this VM can access the mapped drive.

The issue with the user level permission is we have to run the powershell script to all the users who have access to it.
is there any way we can setup?

Thanks in advance,

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

1 answer

Sort by: Most helpful
  1. deherman-MSFT 23,741 Reputation points Microsoft Employee

    @SanthoshKumar S

    There is one workaround which a user had success using. Please check this StackOverflow thread to see if it resolves your issue.

    Hope this helps! If that doesn't resolve your issue or if you have further questions please let us know.


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