For the Next Generation Sync Client (OneDrive.exe) Microsoft has created several group policies. One of them is for companies, so we may automatically connect with a document library. This can be interesting, but people asked me, they have no success with this group policy.
First, you must read the policy Configure team site libraries to sync automatically carefully
- Windows 10
- Windows Insider on the machine or Office Insider
- Enabled group Policy OneDrive Files on Demand
- OneDrive adml and admx files installed
This time, the group policy works only, if you are a Windows insider or an Office Insider, that means it runs only on a machine where f.e. Windows Insider is running. This has nothing to do with the OneDrive Insider Ring
To get the SharePoint Online Library ID, the pop-Up window only shows me, if I use chrome or a private window in Edge
In the article Microsoft says, you should not apply to the GPO “Configure team site libraries to sync automatically”, if there are not more than 1000 devices. I think, that is a bad limit:
Thinking for Midsize or Enterprise Organizations: The Onboarding process could be more easily, if we connect the sync client automatically with let’s say HR team site. So here is a good starting point for “all employees”, where all important documents a reside. The new Employee have nothing to do. It’s on his machine, takes no space (Files on demand), and if documents are updated form HR people, all employees will sync the docs automatically, but only if there are not more then 1000 devices, connect to this document libraries of other Sites automatically.
Another issue is the time. It may up to 8 hours, after a user signs in, before the library begins to sync. That means, my example above also will not work
Please Microsoft, unlock this limit
To make this group policy run, please do the following steps:
You find the 2 OneDrive files here:
Here you have the Onedrive.adml and OneDrive.admx in English language version plus 16 additional languages:
Copy the OneDrive.admx into the folder %systemroot%\PolicyDefinitions
Copy the OneDrive.adml into the corresponding language folder
you see, there is the TenantiD, siteId, WebId, ListID and webURL.
Now switch back to Local Group Policy Editor
Start Regedit.exe and go to:
Reboot your machine and wait up to 8 hours. I have waited 2 hours and then automatically I found a new library and all files are displayed as Cloud Only.
04/04/19 additional Blog post with changes