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

JRV 546 Reputation points
2021-08-27T15:26:26.373+00:00

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?

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,746 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,623 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,121 questions
0 comments No comments
{count} votes

Accepted answer
  1. JRV 546 Reputation points
    2021-08-27T16:53:33.967+00:00

    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful