RemoteApps and OneDrive with Azure Virtual Desktop

Hello everyone!

Working with OneDrive gives users the flexibility to access data on every device. Working with a full desktop in AVD gives you all the possibilities with OneDrive, but for RemoteApps its a bit different. There is no explorer visible and options to start OneDrive. Microsoft has now launched the option to start Onedrive with the RemoteApp in Azure Virtual Desktop. This really changes the the usage of RemoteApps. Lets start configuring OneDrive for RemoteApps on Azure Virtual Desktop!


  • Subscription needed for Azure Virtual Desktop
  • Contributer or Owner rights on the subscription (less rights is also possible, but will take more time to setup)
  • Pooled Azure Virtual Desktop Hostpool (Validation environment is advised)
  • Windows 11 Insider Preview Enterprise multi-session, version 22H2, build 25905 or later
  • Hybrid Entra ID joined or Enter ID joined with Intune enrollment
  • Latest version of FSLogix installed
  • Intune license (because this post uses the Settings Catalog)
  • OneDrive license (Microsoft 365 E3 or any license that has OneDrive included)
  • Silent account configuration setup

Setting up OneDrive for silent login

First we start with the configuration of a settings catalog profile in Microsoft Intune.

  1. Go to the Microsoft Intune admin center
  2. Click on Devices – Windows – Configuration Policies
  3. Click on Create – New Policy
  4. Select platform – Windows 10 and later
  5. Select profile type – Settings catalog
  6. Click on create
  7. Give your profile a name
  8. When you click on Next you can search within the Settings picker
  9. Search for “silent’ and click on OneDrive
  10. Now you can click on “Silently sign in users to OneDrive sync app with their Windows credentials”
  11. Click on Next and assign the proper group for the AVD session hosts

Install OneDrive per-machine

Now we need to install the OneDrive client as per-machine. This is needed, because OneDrive needs to be updated from the Program Files folder, not in the profiles of the users. 

Download here the latest OneDrive client.

Use the following parameters in CMD when updating the image with the OneDrive client:

"OneDriveSetup.exe /allusers"

Configure OneDrive for the RemoteApp

The next step is to configure OneDrive to start when the RemoteApp launches. For now we need to create register keys to make that happen. This feature is still in preview, so this could change in the future.

  1. Open PowerShell with proper admin rights on your image VM
  2. Now you need create the following key with PowerShell or create it manually with RegEdit.
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -Name OneDrive -PropertyType String -Value '"C:\Program Files\Microsoft OneDrive\OneDrive.exe" /background' -Force

Testing the RemoteApp with OneDrive

Now its time to test the RemoteApp with OneDrive. I have setup a RemoteApp with Microsoft Edge and went to the Office portal to upload a document from OneDrive. I know that OneDrive is already integrated with the Office Portal. This is only to show the explorer in an easy way. It is important to check if the user is signed in. Check the green marks or the blue cloud when Files on Demand is activated. 

Final Thoughts

Using OneDrive with RemoteApps gives more flexibility with Azure Virtual Desktop. This solution will give companies more reasons to use RemoteApps on desktops. This feature is still in preview, so i would not recommend it for production environments. Fee free to comment on this post if you have any questions.


  • Mischa Sachse

    Mischa Sachse is one of the founders of the Cloud Experts Community. Would you like to join in the fun? Make sure to contact him via the mail button below or find out more about him on his personal website.

    View all posts

Leave a Reply

Your email address will not be published. Required fields are marked *