SharePoint Document Issues

Fix SharePoint Search Showing Deleted Files with 404 Errors

Olivia MillerOlivia Miller Oct 7, 2026 870 views

Question details

Users are encountering obsolete search results in SharePoint and PnP Modern Search after files are moved or deleted, leading to 404 errors.

Fix SharePoint Search Showing Deleted Files with 404 Errors
Product
SharePoint
Device & OS
not provided
Scenario
Searching for documents in SharePoint after they have been moved to an archive library or deleted by a Power Automate flow.
Observed behavior
Search results display deleted or moved files as ghost results. Clicking these links results in a 404 error, and the issue persists even after reindexing the document library.
Before you start

Ensure you have Microsoft 365 administrator privileges, as resolving backend search index issues requires accessing the Microsoft 365 admin center to open a support ticket.

Solution 1Recommended

Escalate to Microsoft 365 Administrator Support

If standard reindexing fails to clear ghost results, the issue requires a backend Microsoft 365 search-index investigation and log collection.

This is a known issue where the SharePoint search index fails to update properly after Power Automate flows move or delete files. Because manual reindexing from the site settings does not force the backend crawler to clear these specific cache anomalies, Microsoft Support must intervene.

Users without administrator privileges should contact their internal IT department to perform these steps.

1
Log in to the Admin Center

Go to the Microsoft 365 admin center at admin.microsoft.com and log in with your global administrator or support administrator credentials.

2
Navigate to Help & Support

Click on the 'Show all' menu on the left sidebar if necessary, then click on 'Support' and select 'Help & support'.

3
Open a New Support Ticket

Describe your issue stating that SharePoint search is returning 404 errors for deleted files despite library reindexing. Request a backend search-index analysis and log collection.

Escalate to Microsoft 365 Administrator Support
Known Bug Information: Microsoft is aware of backend sync delays affecting search indexes. Keep your support ticket updated and monitor communications from Microsoft.
Free Microsoft Office alternative

Try WPS Office for Seamless Document Management

While SharePoint backend search indexing issues require Microsoft support intervention, you can rely on WPS Office as a lightweight, highly compatible alternative for creating and editing your daily documents. Enjoy a smooth desktop experience without the heavy overhead.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install WPS Office: Run the setup file and follow the on-screen instructions to install the suite on your computer.
  3. 3. Edit Your Documents: Open your .docx, .xlsx, or .pptx files directly in WPS Office to experience fast, seamless editing.
Fully compatible with Microsoft Word, Excel, and PowerPoint formatsLightweight application that runs smoothly on almost any deviceBuilt-in cloud integration for easy document collaboration and backupFree to use with a familiar, easy-to-learn tabbed interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does SharePoint search show deleted files?

SharePoint search relies on an internal search index. If the index fails to update or sync properly after files are moved or deleted (such as by an automated Power Automate flow), the search results will continue to display the outdated links, commonly referred to as 'ghost results'.

What does a 404 error mean when clicking a SharePoint search result?

A 404 error indicates that the file no longer exists at the specific URL indexed by SharePoint search. The file was likely deleted or moved to an archive library, but the search index has not yet caught up to reflect this change.

How long does it take for SharePoint to reindex a library?

Typically, a manual reindex can take anywhere from 15 minutes to 24 hours depending on the server load and the size of your document library. However, if backend bugs are present, the index may fail to update entirely, requiring Microsoft support.