logo
search
Deleted File Recovery

How to Fix a Deleted SharePoint Site Returning a 404 Error

Steve KSteve K Oct 9, 2026 869 views

Question details

The user needs to recover a SharePoint site that appears deleted, is missing from the admin center, and returns a 404 Not Found error.

How to Fix a Deleted SharePoint Site Returning a 404 Error
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Attempting to access or recover a SharePoint site that is no longer listed in the Deleted Sites section of the admin center.
Observed behavior
Accessing the site URL results in a 404 error, and the site cannot be found in the standard SharePoint admin center Deleted Sites list.
Before you start

Ensure you have Microsoft 365 SharePoint Administrator credentials and the necessary permissions to run PnP PowerShell commands on your tenant.

Solution 1Recommended

Verify and Restore the Site Home Page

Often, the entire SharePoint site is not deleted, but the home page itself is missing. You can verify this by accessing the Site Pages library directly.

If only the home page was accidentally deleted, the main URL will return a 404 error. Restoring the home page or creating a new one will bring the site back online.

1
Access the Site Pages library

Append '/SitePages/Forms/ByAuthor.aspx' to your SharePoint site URL to bypass the home page and directly open the Site Pages library.

2
Create a new page

If you can successfully access the Site Pages library, click on the 'New' button to create a new site page.

3
Set as home page

Once the new page is saved and published, select the page in the library, click the three dots (More actions), and choose 'Make homepage'.

Verify and Restore the Site Home Page
Quick Fix: If this method works, your site data was never lost, and full access will be restored immediately for all users.
Free Microsoft Office alternative

Looking for a Hassle-Free Document Solution? Try WPS Office

While recovering complex SharePoint sites requires advanced admin tools, managing your daily documents shouldn't be complicated. WPS Office provides a lightweight, highly compatible alternative to Microsoft Office, letting you create, edit, and collaborate on documents without the heavy overhead.

  1. 1. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the software: Run the installer and follow the quick on-screen instructions to set up the suite in just a few minutes.
  3. 3. Open your documents: Launch WPS Office and instantly open your existing Word, Excel, and PowerPoint files without any formatting issues.
Fully compatible with Microsoft Office formats (.docx, .xlsx, .pptx)Free to download with a lightweight installation packageAll-in-one suite combining Writer, Spreadsheet, Presentation, and PDF toolsFamiliar tabbed interface making migration incredibly easy
microsoft office alternative - wps office

Frequently Asked Questions

Why is my deleted SharePoint site not showing in the admin center recycle bin?

It may have exceeded the 93-day retention period and been permanently deleted, or it might be experiencing a syncing issue that requires PnP PowerShell to uncover. It could also be a subsite rather than a top-level site collection.

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

Deleted SharePoint sites are kept in the Microsoft 365 tenant recycle bin for 93 days. Once this period expires, the site and all its contents are permanently purged and cannot be recovered.

Can I recover specific files if the whole SharePoint site shows a 404 error?

No. If the entire site or its home page is returning a 404 error, you must first resolve the site-level access issue or restore the site. Once the site is accessible, you can retrieve individual files from its document libraries.

What is a HAR log and why does Microsoft Support need it?

A HAR (HTTP Archive) log records the web browser's interaction with the server. Microsoft Support uses this log to see exactly where the connection fails (like a 404 error) on the backend, which helps them identify corrupted or improperly unlinked site URLs.