Version History Issues

Find and Undo Files Moved by a Microsoft 365 User

John WilsonJohn Wilson Nov 22, 2026 868 views

Question details

An administrator needs to identify files a user moved to incorrect folders and restore their previous locations.

Find and Undo Files Moved by a Microsoft 365 User
Product
Microsoft 365, SharePoint, OneDrive, and Microsoft Purview Audit
Device & OS
not provided
Scenario
A user accidentally moved files over several weeks, and the administrator needs to trace and reverse the moves.
Observed behavior
Files are in incorrect folders, but the affected items and their previous locations are not yet known.
Before you start

Confirm the user's account, the approximate date range, and the SharePoint sites or OneDrive locations involved. You need permission to search Microsoft Purview Audit and to move the affected files; audit records must also be available for the period in question.

Solution 1Recommended

Search audit logs and move files back manually

Use this method to identify recorded file moves and restore files to their earlier folders.

The audit log identifies recorded activity but does not automatically undo file moves. Available event details and retention periods depend on your audit configuration and licensing.

1
Open the audit search

Sign in to the Microsoft Purview portal with an account that can search audit logs, then open Audit and select Search.

2
Filter for the user's moves

Set the date and time range to cover the affected weeks, enter the user's account, and select the file-move activity, commonly recorded as FileMoved. Run the search.

3
Review the results

Open matching events or export the results to CSV. Check the timestamps, file names, site, and available source and destination paths to identify the moves that need to be reversed.

4
Move files to their earlier folders

In SharePoint or OneDrive, locate each affected file, select it, and choose Move to. Select its previous folder from the audit details and confirm the move. If a file was moved more than once, trace its events in reverse chronological order.

5
Verify the restored locations

Open the original folders in SharePoint or OneDrive and confirm that the expected files are present. Investigate any missing files or name conflicts before completing the recovery.

Search audit logs and move files back manually
Audit history may be incomplete: Moves cannot be found through this search if the relevant events were not recorded or are no longer retained. If needed, check your organization's backup or recovery tools for another way to restore the affected locations.
Free Microsoft Office alternative

Work with Restored Office Files in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Office files after they are restored. Its Microsoft Office format compatibility helps make migration between applications seamless.

Open and edit restored documents, spreadsheets, and presentationsCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXUse a familiar interface with lightweight desktop appsAccess a free alternative for everyday Office work
microsoft office alternative - wps office

Frequently Asked Questions

Where can I find records of files a user moved?

In the Microsoft Purview portal, open Audit and search for the user's file-move activity over the relevant date range. Review the event details or export the results to CSV.

Can the audit log undo a file move automatically?

No. Audit results help identify recorded moves and available path details, but you generally need to use Move to in SharePoint or OneDrive to return each file to its previous folder.

What if the move is not in the audit results?

Check the user, date range, activity filter, and search permissions in Audit. The event may also be unavailable because it was not recorded or is outside the applicable retention period; check your organization's backup or recovery tools.

Will version history restore a file's previous folder?

Version history is primarily for restoring earlier file content, not reliably reversing a move. Use the audit event's location details and the SharePoint or OneDrive Move to command to return the file.