OneDrive won't start in AVD Windows 11 multi-session+Microsoft 365 apps

Mike Gilbert 46 Reputation points
2022-03-17T08:34:37.833+00:00

I'm creating an Azure Virtual Desktop host pool, with VM's configured as follows:

  • Created with template "Windows 11 Enterprise multi-session+Microsoft 365 apps"
  • Joined to Azure AD Domain Services.
  • FSLogix installed and configured

OneDrive comes pre-installed with this configuration but it just won't start; it looks like it's disabled but if I check policy it isn't. I see that the template has OneDrive pre-installed per-machine which is the correct choice for a Remote Desktop Server, and FSLogix is supposed to support OneDrive. The OneDrive icon shows up in the tray with a slash through it. If I open that icon, go into settings and click on "Add an Account" nothing at all happens it ignores me.

If I start the pre-installed Word, Excel, etc., I can see my OneDrive for Business Files under File/Open (which accesses the cloud copy). But sync seems like it's just off the table.

Other than the OneDrive problem, the VM's looks very healthy as sessions hosts. Event logs look good, group policy is applying correctly, apps run OK. So I don't really think the VM's are corrupted at the system level.

I haven't found any limitation in the documentation, so what's the story here? Can't figure out whether:

  1. Maybe OneDrive just isn't supported in this configuration?
  2. Maybe there's something wrong with the Template I chose; would it work better if I configured a plain Windows 11 multisession VM and then manually installed the Microsoft 365 apps later?
  3. Maybe this is supposed to work and I should open a support ticket?

Somebody must have tried OneDrive sync client on Windows 11 multisession before.... what was your experience?

Thanks!

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,337 questions
{count} vote

3 answers

Sort by: Most helpful
  1. Mike Gilbert 46 Reputation points
    2022-03-30T19:23:28.41+00:00

    I got OneDrive to work but it wasn't easy, following an old article I found about how to reset OneDrive thoroughly:

    1. <path to OneDrive executable> /reset (you will see OneDrive icon vanish)
    2. In regedit, delete HKCU\Software\Microsoft\OneDrive, the whole key
    3. Find Appdata\local\microsoft\onedrive folder (ignore onedrive folder one level up), and delete entire Settings subfolder.
    4. In the start menu, find OneDrive and run it. It will prompt for your credentials and apparently initialize itself successfully. From then on it seems healthy for that user.

    I also set up an identical Windows 10 multi-session with apps and FSLogix (latest template version), and OneDrive worked fine. So I think OneDrive has some bug with W11 multi-session, I hope Microsoft fixes it soon!

    Above paths are from memory and might be slightly wrong but they are easy enough to find.

    1 person found this answer helpful.

  2. Dominic 6 Reputation points
    2022-03-30T20:47:17.17+00:00

    Hi.

    Thanks. Yes there seem to be a few bugs in win11 multisession..... I will try your solution.

    Thanks a lot

    Dominic

    0 comments No comments

  3. Ömür Değer 1 Reputation point
    2022-05-15T21:33:32.147+00:00

    Hi,
    I think this problem is not caused windows 11 multisession OS.
    This problem occurs whenever Azure Virtual Desktop VM templates are created from Microsoft 365 apps with Windows 10 or 11 Multisession OS.
    When I used the method below, I had no problem running OneDrive in Azure Virtual Desktop environment.

    • Creating VM template only from Windows 10 or 11 multisession image
    • Setting up Microsoft 365 Apps without OneDrive
    • Setting up OneDrive separately as per-machine