Deploying OneDrive on Non-Persistent Desktops (Citrix or Remote Desktop)
What options do you have to get Microsoft Office 365 OneDrive, SharePoint Online, and Teams shares to work for non-persistent desktops? When I first went down this road, I was hoping Microsoft had a feature to map drives without any caching, I was disappointed quickly. I went through all the options of deploying OneDrive, and this is what I came up with.
While deploying OneDrive in a non-persistent environment, I tested the following methods:
This free script is maintained by the dedicated Jos Lieben and has done the community a wonderful service. In some cases, I have had issues deploying this script with inconsistent results. Also, there is no dedicated support for OneDrive Mapper. If you don't mind taking some time to get OneDrive Mapper working and keep it working, this might work for you.
OneDrive Native Client
OneDrive has files on demand minimizing cache space utilization, great! But, files on demand only works on Windows 10 version 1709 or later and Windows Server 2019. Also, a requirement for OneDrive on a non-persistent desktop is to use Microsoft FSLogix. Microsoft FSLogix is free and enables users to gain a rich native experience with OneDrive. This is done at a cost. FSLogix uses containers (virtual hard drives that reside on a file server) to store OneDrive data and cache per user. By default, this container is set to 30GB per user (thin provisioned) and it is not recommended to set the virtual drives smaller than 30GB (you can through group policy). If you want the native OneDrive experience, I recommend you try this route if you have the space to spare.
IAM Cloud Drive Mapper
IAM Cloud Drive Mapper maps a drive letter to Microsoft Office 365 without any file caching. This is a great solution if you want to save space, allow users a familiar method of gaining access to their files with a supported product. This is also the easiest solution to deploy. The drawback is that users do not get the native OneDrive experience, for instance, not being able to select Sync after going to a SharePoint Online site. All mappings are easily controlled by an administrator.
Always keep in mind one size does not fit all, you may have to deploy a mix of solutions. Below is a quick summary of the pros and cons that I came up with. If this helped at all, let me know.