Forum Discussion
Stop OneDrive syncing to SharePoint Team site
Thanks for the reply.
No, not redirecting SharePoint folders. Redirecting Documents folder to the user's company onedrive -- %userprofile%\onedrive - companyname. And 4 of the 5 in the department I created the GPO setting for do not have this happening. All the folders initially sync'd to SharePoint and also remain in their OneDrive. The Documents link on Start menu does correctly point to their OneDrive as the location and all their files and folders are in there. And after I deleted their folders from SharePoint, only the My Music, My Video and an Adobe folders (the one for user specific stuff contained in their Documents folder) keep copying back to the Team site everytime they logon on to their laptop.
If no one knows what could cause this, then yes I will open a support ticket. But of course I post to a tech forum first to see if there is a straight forward reason someone might be aware of.
- DadbartSep 29, 2022Copper ContributorNo scripts involved. Using GPO Policies and Preferences. Setup an environment variable for OneDrive in Preferences and then use Policies Folder Redirect to point Documents to the OneDrive for each user. Using this method https://social.technet.microsoft.com/wiki/contents/articles/25220.onedrive-for-business-folder-redirection-via-gpo.aspx As stated, it is only happening with 1 out of 5 users. Everyone else is working as expected. That would seem to rule out a problem with the GPO. Somewhere on that client it is being told to sync their OneDrive Documents to the SharePoint Team site for that department. It is also properly syncing to their OneDrive. It is going to both. But just that 1 user, no one else.
Not sure what you feel you need to see, I have explained what is being done very specifically, nothing ambiguous about it. Nothing inaccurate in it.- regalchidiSep 29, 2022Brass ContributorHi Dadbart,
As stated in your last message, 4 users are working as configured except one.
Check the following on a working and non-working PC.
1. the version of OneDrvie running on both devices (I will advise you use the same version as the working one)
2. The windows version of both systems.
This will help you narrow down what the issue might be.- DadbartSep 29, 2022Copper ContributorThanks for your questions. Windows, updates and OneDrive versions are identical on all 5 workstations. As noted, the one that is an issue, does work as far as the folder redirect and OneDrive functions. It is just that it keeps also syncing the user's Document sub-folders and files to the SharePoint online Team site.