Forum Discussion
OneDrive for Business and Citrix
I would say that your only option is to map a drive directly to the Sharepoint\backend folder for each Citrix user.
We moved off Citrix years back but still have a Terminal Server farm. We had a similar issue, staff wanting to save files from our TS apps back to their OneDrive folder. Our solution was to map an O: drive to the "\\localhost\c$\Users\USERNAME\OneDrive - ORG NAME" folder on their computers.
Being a regular mapped drive, it then shows up in the Windows Explorer window in their Terminal sessions.
For you, you just need to discover the Windows Explorer path - then map that via a login script you only run in the Citrix environment.
E.g. for my OneDrive4B folder, the explorer path is;
https://ORGNAME-my.sharepoint.com/personal/USERNAME_ORGNAME/Documents
To find this path, the only browser that reveals it is Internet Explorer. In the view option, there is a 'view in File Explorer' option. This option ONLY appears in IE.
There's obviously a couple of variables in that URL, so finding out how to parse those to use in a script is the next challenge, or have a seperate script for each user with the exact syntax for their unique path.
I hope you find a working solution! As you say, you don't want to sync all that data across potentially dozens of user profiles on each server - across multiple servers! We have this same issue on our Hotdesk computers, so had to block Outlook and Syncing OneDrive to them and instruct staff to use Web Apps only.
I hope that helps!
Any additional thoughts?