SharePoint Document Issues

How to Delete an Unwanted Shared Library in OneDrive or SharePoint

Rana GarciaRana Garcia Nov 3, 2026 868 views

Question details

The user wants to delete a duplicate or unwanted shared library in OneDrive or SharePoint.

How to Delete an 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.
Before you start

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.

Solution 1Recommended

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.

1
Access Shared Libraries

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.

2
Navigate to the SharePoint Site

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.

3
Open Site Information

On the SharePoint site, click the gear icon in the upper-right corner to open the Settings menu, then select 'Site information'.

4
Delete the Site

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.

Delete the Shared Library from OneDrive Online
Visibility Delay: The shared library might still appear in your OneDrive immediately after you delete it. This is normal; it takes time for the servers to sync and remove the library from the user interface.
Free Microsoft Office alternative

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.

Seamlessly compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight architecture ensures smooth performance on Windows, Mac, Linux, iOS, and Android.Built-in integration for popular cloud storage services makes document saving and sharing effortless.Familiar user interface reduces the learning curve, allowing for instant productivity.
microsoft office alternative - wps office

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.