question

JeffVandervoort-1145 avatar image
0 Votes"
JeffVandervoort-1145 asked JeffVandervoort-1145 answered

Remove a SharePoint Online doc library from OneDrive sync via GPO?

I inadvertently pushed out ODfB sync of a SharePoint Team Library via OneDrive "Configure Team Site Libraries to sync automatically" Group Policy. I've since removed it from the Policy, but that only prevents it being added for new users. It does not remove it from existing users' OneDrive settings.

I don't see a Policy that will do this; is there one?

I'd rather not hack something together, but unless I missed it, I don't have a choice. Will it work if I use GPP Registry to remove this DWORD entry--

[%OneDriveCommercial%[TenantName][SiteName] - [LibraryNameThatShouldn'tSync]

--from this registry key--

HKEY_CURRENT_USER\SOFTWARE\Microsoft\OneDrive\Accounts\Business1\Tenants[TenantName]

--and then use GPP Folders to delete the folder?

Or do I delete the Document Library and create a new one with the same name and content?

office-sharepoint-onlinewindows-group-policyoffice-onedrive-client-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JeffVandervoort-1145 avatar image
0 Votes"
JeffVandervoort-1145 answered

Answered my own question.

Deleted the SP Document Library and ODfB removed it from syncing.

Folder in %OneDriveCommercial% remains but can be deleted by GPP.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.