Azure Virtual Desktop FSLogix Profiles for Cloud Only Accounts (AzureAD)

Alvin AbrahamSolutions Engineer
CERTIFIED EXPERT
Published:
With Azure Virtual Desktops that use MultiSession, it's imperative that the user's profile follows the user no matter which hosts they log in to a Host Pool.  Hybrid and Active Directory Users had no issues.  It wasn't possible for Azure AD Cloud Only Users (not synced to on-prem) until now.
I spent weeks reading Microsoft Documentation, watching youtube videos, and reading blogs. Nothing helped.  The setup is simple.  Only a list of things to do.  There are a lot of blogs that say you can do VHDLocations with Cloud Cache and the answer is no.

warning: The method below works, but the account key is visible in the registry.  It is not recommended to be unsed in production.  I am hopeful, Microsoft will figure this out.

1) Create a Storage Account.


Everything else is the default.

Once complete,  record the name of the storage account and Access Key:


2) On the VM.  Its better to have brand new VMs and use the local admin account to do the settings on the VM Its better to have brand new VMs and use the local admin account to do the settings on the VM.  Otherwise, it will see the local profile and use that.  There is a registry key to overwrite the local profile.

create (2) registry enteries under:
HKLM\SOFTWARE\FSLogix\Profiles 
CCDLocations string value = type=azure,connectionString="DefaultEndpointsProtocol=https;AccountName=fslogix;AccountKey=############################## ##############################;EndpointSuffix=core.windows.net"

Enabled Dword = 1


3) Azure Virtual Desktops by default have FSLogix installed.  I removed the other version and I installed version 2.9.8361.52326 on the VMs  

Restart the VMS and login.  To test turn off the first VM and login again, it should log you into the other machine.  The FSLogix profile will follow you.

Troubleshooting:
C:\Program Files\FSLogix\Apps\frxtray.exe is a tray icon that you can open from the system tray.  It will tell you what state it is in.

C:\ProgramData\FSLogix\Logs\Profile\ this will contain the logs of what could have happened.



0
2,327 Views
Alvin AbrahamSolutions Engineer
CERTIFIED EXPERT

Comments (0)

Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.