OneDrive automatic sharepoint library sync

Modified on Thu, 12 Jan, 2023 at 1:58 PM

In order to get the "Configure team site libraries to sync automatically" GPO under User Config\Administrative Templates\OneDrive working you need to copy the library ID from here:



Paste it into this powershell command:

[uri]::UnescapeDataString("Copied String")

That will spit out a formatted library ID that you can paste into the Value field here:



It will take some time before the policy starts working.


Reference Microsoft article: Use OneDrive policies to control sync settings - SharePoint in Microsoft 365 | Microsoft Learn 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article