OneDrive sign in loop issue on Azure Virtual Desktop session host

This issue has been resolved, but you need to add the registry values below:
EnableADAL set to 2, SilentAccountConfig set to 1, and SilentBusinessConfigCompleted set to 1

You installed OneDrive on your session host’s, and it just keeps looping back to sign in each time you try to log on with a user’s credentials?

This is usually one of two things:

  • SilentAcountConfig registry setting is enabled for OneDrive. If so, disable. Not supported in AVD.

  • OneDrive is installed as the per-user version, rather than the machine wide install.