I had this working in either of the following two ways: - Only requirement was that the FSlogix had to be installed with domain admin credentials on the VMs:
- Registry entries on the VMs in host pool
HKLM:\SOFTWARE\FSLogix\Profiles (if a path called Profiles is not available in FSLogix, create it)
DWORD : Key: Enabled value: 1
Multistring: Key: VHDLocations value: "\path of the fileshare server or azure storage fileshare"
- Group policy object in the PDC (to apply to the VDIs mapped as computers - I have my WVD VMs in a separate OU to which I link this GPO)
Computer Configration>>Policies>>Administrative Templates>>FSLogix>>Profile Containers>>
'Set Outlook cached mode on successful container attach" Enabled
'Enabled' Enabled
'VHD Location' Enabled (give the path of the fileshare)
'Delete local profile whenn FSLogix Profile should apply' Enabled
Computer Configration>>Policies>>Administrative Templates>>FSLogix>>Profile Containers>> Container and Directory Naming
'Virtual disk type' Enabled
'Swap directory name components' Enabled
The best approach would be through GPO because that pushed the policy on one go to all the VMs in the pool.