SharePoint Document Issues

How to Fix SharePoint Site Deletion Errors and List View Threshold Issues

Ayan MasoodAyan Masood Oct 29, 2026 870 views

Question details

Users are unable to delete a SharePoint site due to list view threshold errors, retention policies, or site path mismatch issues.

How to Fix SharePoint Site Deletion Errors Caused by List View Thresholds
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.
Before you start

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.

Solution 1Recommended

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.

1
Log in to the Compliance Center

Navigate to the Microsoft Purview compliance portal (compliance.microsoft.com) using your administrator credentials.

2
Check Data Lifecycle Policies

Go to 'Data lifecycle management' > 'Microsoft 365' > 'Retention policies' and review active policies to see if they apply to SharePoint sites.

3
Exclude the Site

Edit the policy, choose 'Exclude sites', and enter the exact URL of the SharePoint site you wish to delete. Save your changes.

4
Retry Deletion

Return to the SharePoint Admin Center and attempt to delete the site again once the policy changes have synchronized.

Verify Site URL and Check for Retention Policies
Sync Delay: It can take up to 24 hours for retention policy exclusions to apply across the SharePoint environment. If deletion fails immediately after exclusion, wait a day and try again.
Free Microsoft Office alternative

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. 1. Download the Installer: Visit the official WPS Office website to download the lightweight, secure installation package.
  2. 2. Install and Launch: Run the downloaded file and follow the quick on-screen instructions to set up the suite on your computer.
  3. 3. Edit Your Documents: Open your existing Microsoft Office files instantly with perfect formatting retention and start working.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Built-in cloud storage and seamless collaboration features for modern teams.Lightweight installation with a familiar, user-friendly tabbed interface.Completely free basic version equipped with powerful PDF editing capabilities.
microsoft office alternative - wps office

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.