How to Fix SharePoint Site Deletion Errors and List View Threshold Issues
Question details
Users are unable to delete a SharePoint site due to list view threshold errors, retention policies, or site path mismatch issues.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Attempting to delete a SharePoint site that appears empty but fails to process the deletion request through standard UI methods.
- Observed behavior
- The system throws a list view threshold error, or administrative PowerShell commands like Remove-SPOSite return a 'File Not Found' error.
Ensure you have SharePoint Administrator or Global Administrator privileges in your Microsoft 365 tenant before attempting to forcefully delete a site or modify retention policies.
Verify Site URL and Check for Retention Policies
Retention policies or legal holds are common reasons a site cannot be deleted. You must identify and disable them before attempting deletion.
Microsoft 365 administrators often apply broad data lifecycle policies that silently protect site data. If a SharePoint site is under a retention policy or an eDiscovery hold, any deletion attempt will be blocked by the system.
Navigate to the Microsoft Purview compliance portal (compliance.microsoft.com) using your administrator credentials.
Go to 'Data lifecycle management' > 'Microsoft 365' > 'Retention policies' and review active policies to see if they apply to SharePoint sites.
Edit the policy, choose 'Exclude sites', and enter the exact URL of the SharePoint site you wish to delete. Save your changes.
Return to the SharePoint Admin Center and attempt to delete the site again once the policy changes have synchronized.

Delete the SharePoint Site Using PowerShell
If the user interface fails due to list view thresholds, executing SharePoint Online Management Shell commands can bypass standard UI limitations.
Open a Microsoft Support Ticket
If orphaned content, extreme list view thresholds, or hidden backend holds prevent deletion, Microsoft support must intervene.
Streamline Your Document Management with WPS Office
While resolving complex administrative tasks like SharePoint list view thresholds requires IT intervention, simplifying your daily document workflow shouldn't. WPS Office provides a highly compatible, easy-to-use alternative to Microsoft Office for creating, editing, and managing your essential documents.
- 1. Download the Installer: Visit the official WPS Office website to download the lightweight, secure installation package.
- 2. Install and Launch: Run the downloaded file and follow the quick on-screen instructions to set up the suite on your computer.
- 3. Edit Your Documents: Open your existing Microsoft Office files instantly with perfect formatting retention and start working.

Frequently Asked Questions
Why do I get a 'File Not Found' error when running Remove-SPOSite?
This error frequently occurs if the site URL is mistyped, the site has already been deleted and is sitting in the recycle bin, or the target is a subsite rather than a top-level site collection. Use the 'Get-SPOSite' command without parameters to list all available sites and confirm the exact URL format.
How does a list view threshold prevent a SharePoint site from deleting?
When a SharePoint list or library contains more than 5,000 items, it triggers the list view threshold limit. During bulk operations like a site deletion, this large volume of items can cause backend SQL database locks or timeouts, prompting the deletion script to fail even if the site appears mostly empty.
Can active eDiscovery holds block site deletion?
Yes. Any active legal hold, eDiscovery case, or tenant-wide data retention policy associated with a SharePoint site will strictly block deletion requests to preserve data. You must work with your compliance administrator to safely exclude the site or release the hold before deletion can proceed.




