Stop OneDrive From Syncing a Deleted Microsoft 365 Group Library
Question details
The user wants to permanently stop OneDrive from syncing a document library associated with a deleted Microsoft 365 group or team.
- Product
- Microsoft OneDrive, Microsoft 365 Groups, Microsoft Teams, and SharePoint Online
- Device & OS
- not provided
- Scenario
- A Microsoft 365 group or team has been deleted, but its document library remains linked to OneDrive.
- Observed behavior
- The library continues appearing in OneDrive or returns after synchronization is stopped, potentially because the associated SharePoint site still exists.
Identify the exact SharePoint site and library associated with the deleted group, and confirm with the site owner that they are no longer needed. Deleting a site requires appropriate administrator permissions and affects its content for all users; the reset instructions below apply to Windows.
Remove the obsolete SharePoint site and stop syncing its library
Use this approach when the deleted group’s SharePoint site still exists and an administrator confirms it is no longer required.
A library remaining in OneDrive does not by itself prove that its SharePoint site is still active. Verify the site before deleting anything, and do not delete a site that other users still need.
Ask a SharePoint administrator to open the SharePoint admin center and select Sites > Active sites. Search for the site associated with the deleted group or team, and verify its URL rather than relying only on its display name.
In SharePoint admin center > Sites > Active sites, select the confirmed obsolete site and choose Delete. Review the deletion notice before confirming. If deletion is unavailable or the site is subject to retention requirements, have the administrator resolve those conditions rather than attempting to bypass them.
As an alternative to the admin center, an authorized administrator can use the SharePoint Online Management Shell. Connect with Connect-SPOService -Url https://contoso-admin.sharepoint.com, then run Remove-SPOSite -Identity https://contoso.sharepoint.com/sites/site1 -NoWait. Replace both example URLs with the actual tenant admin URL and the verified obsolete site URL; this command deletes the site, not just the local sync connection.
On the affected computer, select the OneDrive cloud icon, open Settings, and go to Account. Find the obsolete shared library and select Stop sync. Menu labels may vary by OneDrive version.
Open OneDrive on the web and select My files. If the obsolete library is present as a shortcut, select it and choose Remove shortcut. Use Remove shortcut rather than deleting the shared folder’s contents.
Reset OneDrive if the obsolete library keeps returning
Use this follow-up when the unwanted library returns after its sync connection or shortcut has been removed.
Work With Local Office Documents in WPS Office
WPS Office does not fix OneDrive synchronization or delete SharePoint sites. It offers a free, lightweight alternative for working with retained local documents, with a familiar interface and Microsoft Office format compatibility that makes migration straightforward.

Frequently Asked Questions
Why does a deleted team’s document library still appear in OneDrive?
OneDrive may retain the library’s sync connection or a shortcut, and the associated SharePoint site may still exist. Have an administrator check SharePoint admin center > Sites > Active sites, then inspect OneDrive Settings > Account and OneDrive on the web > My files.
Can I stop syncing the library without deleting the SharePoint site?
Yes. Select the OneDrive cloud icon, open Settings > Account, find the library, and choose Stop sync. If you added it as a shortcut instead, open OneDrive on the web > My files and choose Remove shortcut. This removes your connection without deleting the shared site.
Do I need administrator permissions to remove the remaining site?
Deleting the SharePoint site requires appropriate administrative permissions. A SharePoint administrator can use SharePoint admin center > Sites > Active sites or the SharePoint Online Management Shell. Stopping your own library synchronization normally does not require site-deletion permissions.
Will resetting OneDrive delete my documents?
Resetting OneDrive does not delete your cloud documents; it resets the client’s sync state and may trigger a full synchronization check. After restarting OneDrive, review Settings > Account and reconnect only the required libraries.
Can WPS Office stop this OneDrive synchronization problem?
No. OneDrive sync connections and SharePoint site deletion must be managed through Microsoft’s tools. WPS Office can open and edit supported local Office files after you have resolved the unwanted synchronization.




