Group Policy to Add SharePoint Sites
SilentConfig is all very good, but I'd also like to be able to add SharePoint Online Libraries to appear automatically alongside the user's OneDrive for Business. A policy item that contains a list of URLs to SharePoint Libraries would do the trick. As SharePoint Libraries might be particularly large, it would make sense if such libraries defaulted to "Files on Demand"
Of course, this should also be added to the OneDrive CSP that everyone is screaming out for!!
Ben Christian commented
David Westbrook commented
This would be a great idea. Like the idea of a policy, but would also like a way of doing this using registry key preferences. This would allow us to add many different sites, and then restrict each one using filtering rather than having to create separate GPOs for each user group.
Nick Batchelor commented
So this can (theortically) be implemented by using a GPP to call the onedrive client using a cutom commandline. With a bit of fancy footwork you could filter sites by AD group membership.
However, the process for working out the correct commandline for each site needs to be easier.
A new GP CSE for this would be appreciated.
If you want to auto-configure a SharePoint site to be synced, you can use the URL below as a guide to build the path to the SharePoint site you want to sync automatically. Replace HERE with the correct values for each component of the URL.
Note: Replace special characters like the period (.), hyphen (-), and at sign (@) with the corresponding encoded values. For example, if the URL includes a hyphen, replace the hyphen with its encoded value, %2D. Additionally, you will need Client Side Object Model (CSOM) knowledge to query the team site to determine the appropriate SiteID, WebID and ListID to build the appropriate URL.
Mats Warnolf commented
Or a powershell command or whatever. We need a way to add sharepoint libraries programatically.
This is essential to support the migration from departments having a UNC share to having a SharePoint library