How to Delete SharePoint Folders Protected by eDiscovery Holds
Question details
The user needs to delete a folder in SharePoint or OneDrive but is blocked by a retention policy, retention label, or eDiscovery hold.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Attempting to organize directories and clean up workspace by deleting old or unnecessary SharePoint folders.
- Observed behavior
- SharePoint prevents the folder deletion, displaying an error that the items are protected by an eDiscovery hold or retention policy.
Verify if you have standard user permissions or tenant/compliance administrator privileges, as modifying organizational retention policies requires admin access.
Delete folder contents manually before deleting the folder
This is a quick workaround for standard users who cannot change compliance settings but need to remove a specific folder.
In many SharePoint configurations, retention policies apply to the files inside a folder rather than the folder itself. By emptying the folder first, you bypass the restriction on the folder container.
Navigate to the SharePoint or OneDrive document library and click to open the folder you want to delete.
Select all files and items inside the folder, click 'Delete' in the top menu, and confirm the action.
Navigate back to the parent directory, select the now-empty folder, and click 'Delete'.

Exclude the SharePoint site from the retention policy
For tenant or compliance administrators who need to permanently remove data restrictions on a specific site.
Try WPS Office for Seamless Document Management
While resolving SharePoint compliance issues requires Microsoft 365 administrative access, you can streamline your everyday document creation and editing with WPS Office. It provides a lightweight, highly compatible, and cost-effective alternative to Microsoft Office.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package for your device.
- 2. Install and Launch: Run the installer, follow the on-screen instructions, and open WPS Office.
- 3. Open Your Documents: Simply drag and drop your existing Microsoft Office files into WPS to continue editing without formatting loss.

Frequently Asked Questions
Why does my SharePoint folder say it is locked by retention?
Organizations use retention policies and eDiscovery holds to comply with industry regulations or internal legal requirements. These policies prevent the accidental or intentional deletion of data for a specified period.
Do I need admin rights to delete a protected folder?
You need admin rights to alter or remove the actual retention policy. However, as an end-user, you can often bypass the folder deletion block by manually deleting all the files contained within the folder first.
How long do eDiscovery holds last in SharePoint?
eDiscovery holds remain in place indefinitely until a compliance administrator manually removes them or until the specific legal case associated with the hold is officially closed.




