SAS key for UNC Path

Chandresh Modi 86 Reputation points


I have a question regarding the storage account SAS Key. I want to use the SAS key to mount an Azure Share using 'net use' command.

I was just trying to understand is it possible to use a SAS key instead of an Access Key as a password while mounting the Azure Share. So something like this :

net use Z: \\myshare u:\Azure\StorageAccount "SAS_KEY_GOES_HERE"

So, in above scenario is it possible to use SAS key?

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

Accepted answer
  1. Sumarigo-MSFT 45,406 Reputation points Microsoft Employee

    @Chandresh Modi Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    Unfortunately, it's impossible to do that. The SAS token is not supported in mounting Azure File share currently, it just supports the Azure storage account key. You can take a look at the feedback. If you wish you may leave your feedback there All the feedback you share in these forums
    will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.

    Workaround: You can try Azure Files FUSE Driver:

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.


    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

    3 people found this answer helpful.

0 additional answers

Sort by: Most helpful