How to Recover SharePoint Sites Returning 404 Errors
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.

- 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.
Ensure you have SharePoint Administrator or Global Administrator privileges in Microsoft 365 and have the SharePoint Online Management Shell installed on your computer.
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.
Open the SharePoint Online Management Shell application on your Windows computer as an administrator.
Run the command 'Connect-SPOService -Url https://[yourdomain]-admin.sharepoint.com' and log in with your Microsoft 365 administrator credentials.
Execute the command 'Get-SPODeletedSite' to generate a list of all currently deleted sites that are still retained in the backend recycle bin.
If your site is listed in the output, run the command 'Restore-SPODeletedSite -Identity [site_URL]' to recover the site and its contents.

Contact Microsoft Support for Backend Recovery
If the site is not listed in PowerShell, it may have been permanently deleted or experienced a synchronization failure requiring Microsoft's intervention.
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. Download the software: Visit the official WPS Office website to download the free, lightweight installation package for your operating system.
- 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. Edit seamlessly: Right-click your documents and open them with WPS Office to continue your work offline with perfect formatting retention.

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.




