map storage fileshare with sas key

Arif Usman 496 Reputation points
2022-12-14T20:00:40.07+00:00

Folks, is there way to map drive with sas key of Azure Storage fileshare in AVD Session hosts.
We have all AAD and AADDSS, AVD are joined to AADDSS to utilize GPO. Is there way to map storage fileshare drive (SAS key) to AVD vm hosts with sas key. I know i can do without sas key with GPO, but unable to do with sas key.

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,523 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 47,466 Reputation points Microsoft Employee Moderator
    2022-12-15T07:04:55.73+00:00

    @Arif Usman Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    To mount a file share, you must use SMB. SMB supports mounting the file share using Identity based authentication (AD DS and AAD DS) or storage account key (not SAS). SAS key can only be used when accessing the file share using REST (for example, Storage Explorer).

    This is covered in the FAQ: Frequently asked questions (FAQ) for Azure Files | Microsoft Learn

    But we have workaround for this here I haven't tried in my lab.

    Please let us know if you have any further queries. I’m happy to assist you further.

    ----------

    Please do not forget to 270922-accept-answer.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

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.