Deleted File Recovery

How to Recover a Missing SharePoint Site Returning a 404 Error

Steve KSteve K Nov 3, 2026 870 views

Question details

The user needs to recover a previously working SharePoint site that has disappeared from both the Active and Deleted sites lists and currently returns a 404 File Not Found error.

How to Recover a Missing SharePoint Site Returning a 404 Error
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Attempting to access or restore a missing SharePoint site that is no longer visible in the standard Microsoft 365 admin center GUI.
Observed behavior
The SharePoint site returns a 404 error upon access and does not appear under Active sites or Deleted sites in the SharePoint admin center.
Before you start

Ensure you have Microsoft 365 global administrator or SharePoint administrator privileges, and install the SharePoint Online Management Shell on your computer.

Solution 1Recommended

Use SharePoint Online Management Shell to Restore the Site

Use PowerShell commands to locate and restore a deleted SharePoint site that is no longer visible in the admin center but is still within the 93-day retention period.

Deleted SharePoint sites are retained by Microsoft for 93 days. Even if a site fails to appear in the standard Deleted sites list in the admin center, it can often still be queried and restored using the Management Shell.

1
Open the Management Shell

Launch the SharePoint Online Management Shell as an administrator on your computer.

2
Run Get-SPODeletedSite

Execute the command 'Get-SPODeletedSite' to search for the missing SharePoint site within the deleted sites directory.

3
Restore the Site

If your missing site appears in the command output, run the 'Restore-SPODeletedSite -Identity <SiteURL>' command (replacing <SiteURL> with the actual URL) to recover it.

Use SharePoint Online Management Shell to Restore the Site
Retention Period Warning: After 93 days, the SharePoint site and all of its content and settings are permanently deleted and cannot be recovered using this method.
Free Microsoft Office alternative

Looking for a Lightweight and Reliable Office Suite?

While resolving Microsoft 365 server issues requires admin tools, you might also be looking for a cost-effective, seamless alternative for your daily document management. WPS Office provides a free, lightweight, and highly compatible suite for creating, editing, and sharing Word, Excel, and PowerPoint files.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Application: Run the downloaded installer and follow the simple on-screen instructions to set up the software.
  3. 3. Open Your Files Seamlessly: Launch WPS Office to directly open and edit your existing Microsoft Office documents without any formatting loss.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Free and lightweight alternative to heavy Microsoft 365 installations.Familiar user interface ensuring a seamless migration with zero learning curve.Built-in PDF editing, cloud storage, and robust document recovery features.
QA img-9

Frequently Asked Questions

Why does my previously working SharePoint site suddenly return a 404 error?

A 404 File Not Found error generally means the site was deleted, its URL was modified, or there is a backend routing failure in Microsoft 365. If deleted, it enters a 93-day retention period.

How long do I have to recover a deleted SharePoint site?

Microsoft retains deleted SharePoint sites for exactly 93 days. Once this period expires, the site, including all its files, libraries, and settings, is permanently purged and cannot be recovered.

What should I do if the Get-SPODeletedSite command does not list my missing site?

If the site does not appear when running Get-SPODeletedSite, it may have been permanently deleted (past the 93-day limit) or there may be a backend synchronization issue. You must contact Microsoft 365 Support through your admin center for further investigation.