Deleted File Recovery

How to Recover SharePoint Sites Returning 404 Errors

Tauseeq MagsiTauseeq Magsi Nov 3, 2026 870 views

Question details

The user needs to recover a SharePoint site that returns a 404 error and does not appear in the standard Active sites or Deleted sites lists in the Admin Center.

How to Recover SharePoint Sites Returning 404 Errors
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Attempting to access a previously functioning SharePoint site or recover its files.
Observed behavior
The SharePoint site URL returns a 404 error, and the site is completely missing from both the Active and Deleted sites menus, though synchronized libraries may still have local cached files.
Before you start

Ensure you have SharePoint Administrator or Global Administrator privileges in Microsoft 365 and have the SharePoint Online Management Shell installed on your computer.

Solution 1Recommended

Use SharePoint Online Management Shell to Restore the Site

Use PowerShell commands to search for and restore deleted sites that have disappeared from the visual Admin Center interface but are still within the 93-day retention period.

Often, sites that fail to appear in the Admin Center recycle bin can still be detected and restored using the SharePoint Online Management Shell.

1
Launch SharePoint Management Shell

Open the SharePoint Online Management Shell application on your Windows computer as an administrator.

2
Connect to your SharePoint service

Run the command 'Connect-SPOService -Url https://[yourdomain]-admin.sharepoint.com' and log in with your Microsoft 365 administrator credentials.

3
Search for the deleted site

Execute the command 'Get-SPODeletedSite' to generate a list of all currently deleted sites that are still retained in the backend recycle bin.

4
Restore the site

If your site is listed in the output, run the command 'Restore-SPODeletedSite -Identity [site_URL]' to recover the site and its contents.

Use SharePoint Online Management Shell to Restore the Site
93-Day Retention Limit: Deleted SharePoint sites are normally retained for exactly 93 days. If it has been longer than this period, the PowerShell command will not be able to find or restore the site.
Free Microsoft Office alternative

Need to Work on Cached Documents While Waiting?

If your SharePoint site is down and you need to keep working on your locally synchronized files, WPS Office is an excellent, lightweight alternative. It allows you to open, edit, and save your documents with full Microsoft Office format compatibility without relying on cloud connectivity.

  1. 1. Download the software: Visit the official WPS Office website to download the free, lightweight installation package for your operating system.
  2. 2. Locate cached files: Open your local file explorer and navigate to your synchronized OneDrive or SharePoint folders where cached copies of your files reside.
  3. 3. Edit seamlessly: Right-click your documents and open them with WPS Office to continue your work offline with perfect formatting retention.
Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx)Free and lightweight alternative to heavy Microsoft 365 applicationsEdit your cached local files offline without relying on cloud syncFamiliar user interface for seamless and quick migration
microsoft office alternative - wps office

Frequently Asked Questions

How long are deleted SharePoint sites retained?

Deleted SharePoint sites are typically retained in the Microsoft 365 recycle bin for exactly 93 days. After this period, they are permanently removed from the system.

Should I recreate the SharePoint site if it is missing?

No. You should never recreate the site immediately. Recreating a site with the same URL can overwrite backend directories, making it impossible for Microsoft Support to recover your original data.

Can I recover files from a site returning a 404 error without admin access?

Restoring a deleted SharePoint site requires SharePoint Administrator or Global Administrator privileges. However, as an end-user, you might find cached copies of previously accessed files in your locally synchronized OneDrive or SharePoint folders.

Why does a SharePoint site return a 404 error but isn't in the deleted sites list?

This can happen if the site was permanently deleted after the 93-day retention period, renamed, or if there is a synchronization error on Microsoft's backend servers.