How to Delete an Unwanted Shared Library in OneDrive or SharePoint
Question details
The user wants to delete a duplicate or unwanted shared library in OneDrive or SharePoint.

- Product
- OneDrive and SharePoint
- Device & OS
- not provided
- Scenario
- Cleaning up the cloud storage environment by removing unnecessary shared libraries and their backing SharePoint sites.
- Observed behavior
- A shared library is tied to a SharePoint site. Deleting the site successfully removes the library, though users may experience a brief synchronization delay where the library remains visible in the online interface.
Verify that the shared library does not contain any files that must be retained, as deleting the site permanently removes the library and all of its contents. Ensure you have the necessary site owner permissions to perform the deletion.
Delete the Shared Library from OneDrive Online
Use the OneDrive online interface to navigate to the backing SharePoint site and delete it directly.
Because shared libraries in OneDrive are backed by SharePoint sites, you must delete the entire site to remove the library. This action will delete all files, lists, and data associated with that specific site.
Log in to OneDrive online. On the left navigation pane, look under the 'Shared libraries' section and click on the unwanted library you wish to remove.
Once the library is open, locate and select the 'Go to site' link (usually found in the top-right corner) to open the corresponding SharePoint site.
On the SharePoint site, click the gear icon in the upper-right corner to open the Settings menu, then select 'Site information'.
At the bottom of the Site information panel, click on 'Delete site'. Check the confirmation box acknowledging that all contents will be deleted, and click the 'Delete' button.

Request Removal via SharePoint Admin Center
If you lack permissions or the library cannot be deleted normally, a SharePoint administrator can force remove it.
Manage Your Documents Effectively with WPS Office
While managing complex SharePoint sites requires Microsoft 365 permissions, you can easily create, edit, and collaborate on your local and cloud documents using WPS Office. It provides a familiar, lightweight interface fully compatible with major office formats without the expensive subscription fees.

Frequently Asked Questions
Why is the shared library still showing in OneDrive after I deleted the site?
It is common for a deleted shared library to remain visible in the OneDrive interface for a short period. This happens because the system cache and backend sync processes take time to update across all Microsoft 365 servers. Check back after a few hours.
Can I recover a deleted shared library if I made a mistake?
Yes. Deleted SharePoint sites and their associated shared libraries are usually moved to the SharePoint admin center's recycle bin, where they are kept for 93 days. You will need to contact a SharePoint administrator to restore the site within this timeframe.
What if I don't see the 'Delete site' option in Site information?
If the 'Delete site' option is missing, it means your account does not have Site Owner or Administrator permissions for that specific SharePoint site. You must request the site owner or an IT administrator to delete it for you.




