SAS key for UNC Path

Chandresh Modi 91 Reputation points
2020-06-28T16:07:29.643+00:00

Hi,

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: \Storageaccount.file.core.windows.net\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,301 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.
3,220 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 47,021 Reputation points Microsoft Employee
    2020-07-01T11:28:42.53+00:00

    @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: https://github.com/microsoft/AzureFilesFUSE

    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.