I'm currently trying to use a local group policy script at logon of the user to mount a new drive (F:) where the FSLogix account of the user is stored. I don't know if this is even possible or what my options are.
The reason I do this is because I'm trying to implement a one-click deployment of an Azure Virtual Desktop setup and want to store the test user data in an Azure File Share and showcase the use of FSLogix accounts. I need some kind of way to first link the Azure file share to the VM and set the FSLogix registry settings to that file share and after that load the FSLogix user account.
Does someone have experience or ideas on how this can best be done?
For setting up FSLogix with Azure Files for Azure Virtual Desktop. You can follow the steps below-
Prerequisites
create a new storage account if you haven’t.
Create the file share
Get storage account key
Assign appropriate permissions to the Azure File Share for your AD domain service.
In your AVD host pool, create a logon script to mount the file share when the user logs in.
Configure FSLogix via PowerShell i.e. on the AVD VMs, set the FSLogix registry keys.
Done. You can now log in to your AVD session and ensure that the F: drive is mounted and points to your Azure File Share.
References: