404 Error accessing SPO home page

August 5, 2020 | by iaur | posted as Failure, SharePoint Online

Scenario

404 Error accessing SPO home page of a site**

This issue happens when the home.aspx (or any homepage of the site) is deleted.

404 Error accessing SPO home page

**Please note that 404 Error accessing SPO home page only applies to site collection with Communication or Private or Public Team Site (New Experience) template

Recreate the Home Page

Steps
  1. Append this /_layouts/15/viewlsts.aspx on the end of URL (e.g https://domain.sharepoint.com/sites/NameOfSite/_layouts/15/viewlsts.aspx)
  2. Once redirected to Site Contents, go to Pages
  3. On the Site Pages, click New > Site Page
  4. Type Home on the “Name your page” and add the necessary information
  5. Publish

Note: If you opt to use different name on Step 4, go back to Pages and right click on the newly created page and select Make homepage.

Restore deleted Home Page

Steps
  1. Append this /_layouts/15/viewlsts.aspx on the end of URL (e.g https://domain.sharepoint.com/sites/NameOfSite/_layouts/15/viewlsts.aspx)
  2. Once redirected to Site Contents, go to Recycle bin
  3. Look for Home.aspx > Restore

More SPO failure on this link.

Misc

Why the files got deleted in the first place?

  • Unlink all machines syncing with OD. Check the name that appears in the “Deleted by” column in the recycle bin then had this user unlink his/her account from all the devices and then try to sync afterwards.  If there are multiple devices, then you have to do the try to sync it one at a time with a few hours of observation to learn which device is causing it.
  • Check what\who deleted the file in SharePoint logs. The article describe some steps on how to take advantage of SPO native tools on how to deal with missing or deleted files.
  • Consider creating alerts. This is one way to pin point the problem as from this point you will be able to first hand witness who and what actor is accidentally or deliberately deleting these files.

Feedback or Help?

Should you have one, click here

Boring Ads. Pardon me :)