OneDrive File Issues

Stop OneDrive From Syncing a Deleted Microsoft 365 Group Library

John WilsonJohn Wilson Nov 13, 2026 868 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Check whether the SharePoint site remains

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.

2
Delete the site only if it is no longer needed

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.

3
Use PowerShell if administrative deletion requires it

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.

4
Stop the library’s OneDrive synchronization

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.

5
Check for a OneDrive shortcut

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.

Local copies can remain after synchronization stops: Stopping sync does not necessarily remove previously downloaded files from the computer. Confirm that the library is no longer syncing before deciding whether to remove its leftover local folder.
Free Microsoft Office alternative

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.

Open and edit retained local documents without relying on the obsolete library’s sync connection.Supports Microsoft Word .docx, Excel .xlsx, and PowerPoint .pptx formats.Familiar document, spreadsheet, and presentation tools ease the transition from Microsoft Office.Free core editing tools in a lightweight office suite.
microsoft office alternative - wps office

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.