When you use OneDrive file restore to recover a legal folder, the wrong version sometimes appears. This happens because file restore operates on the entire OneDrive at a specific point in time, not on individual folder version histories. Legal folders often contain documents with multiple versions and strict retention requirements. This article explains why file restore can restore an incorrect version in legal folders and provides a checklist to verify and correct the restore process.
Key Takeaways: Restoring Legal Folders in OneDrive Correctly
- OneDrive file restore restores the entire library to a past state: It does not restore individual files or folders to their own version history; it reverts all content to a single point in time.
- Version history per file is separate from file restore: A file can have 500 versions in its history, but file restore only returns the version that existed at the selected restore point.
- Check the file restore time in the activity log: Use the Microsoft 365 audit log to confirm which version of a legal folder was restored and when.
Why File Restore Returns the Wrong Version for Legal Folders
OneDrive file restore is a user-facing recovery tool that lets you roll back your entire OneDrive to any state within the last 30 days. It works by scanning the change log and reverting every file and folder to how it appeared at the selected date and time. This is not the same as restoring a specific file version from its version history.
Legal folders often contain documents that are edited by multiple people over weeks or months. Each edit creates a new version in the file's version history. When you use file restore, it does not look at individual version histories. Instead, it looks at the state of the entire OneDrive at the chosen restore point. If a legal document was in version 4 at that restore point but version 10 exists now, file restore will bring back version 4. This is technically correct for the restore point, but it may not be the version you want for legal review.
Another factor is that file restore affects all items in the OneDrive, including subfolders within a legal folder. If you only want to restore one legal folder, file restore is not the right tool. It will revert everything, including unrelated files, to the same point in time.
Admin Checklist: Verify and Correct File Restore for Legal Folders
Use this checklist when a user reports that file restore returned the wrong version for a legal folder. Each step helps you confirm what happened and restore the correct version without disrupting other data.
- Check the file restore activity in the audit log
Go to the Microsoft 365 admin center and open the audit log. Search for the user's OneDrive activity between the time of the restore and 24 hours before. Look for the event "File restored." The audit log shows the exact date and time the user selected for the restore. This tells you which point in time was applied. - Identify the current version of the legal folder's files
Open the user's OneDrive in a web browser. Navigate to the legal folder. For each critical file, right-click and select Version history. Compare the version that was restored with the version that existed before the restore. The version list shows timestamps and who made each change. - Restore the correct file version from version history
If the wrong version was applied, do not run file restore again. Instead, use version history on each affected file. In the version history pane, select the version you need and click Restore. This returns only that file to the correct version without affecting any other files in the OneDrive. - Disable file restore for the user temporarily if needed
If the user might accidentally run file restore again, you can disable the feature. Go to the OneDrive admin center, select Sync, and uncheck "Allow users to restore their own OneDrive." This prevents the user from using file restore until you re-enable it. Re-enable after the legal folder is confirmed correct. - Document the restore point and versions for legal compliance
Export the audit log entries for the file restore event and the version history changes. Save these as CSV files. Include the user name, date, time, and file names. This documentation proves which version was restored and when the correction happened.
Other Symptoms of Incorrect Restores in Legal Folders
File restore did not bring back a deleted legal folder
If a legal folder was deleted more than 30 days ago, file restore cannot recover it. File restore only works within the 30-day window. To recover a folder deleted outside that window, use the OneDrive recycle bin or a backup. Check the recycle bin first. If the folder is not there, you need a third-party backup or a retention policy from Microsoft 365 compliance.
File restore restored a legal folder but with missing metadata
Metadata such as custom columns, sensitivity labels, or retention tags may not survive a file restore. File restore returns the file content and basic properties, but custom metadata is tied to the site column or list and may not revert. After a restore, reapply any missing metadata manually. Use the version history of the folder or list to check what metadata existed before.
File restore did not restore a legal folder that was moved
If a legal folder was moved to another location within the same OneDrive before the restore, file restore will not move it back. File restore only reverts content, not folder structure changes. You must manually move the folder back to its original location. After moving, check the version history of the files to ensure the correct versions are present.
File Restore vs Version History: Key Differences for Legal Folders
| Item | File Restore | Version History |
|---|---|---|
| Scope | Entire OneDrive | Single file or folder |
| Time range | Up to 30 days | Up to 500 versions per file |
| Effect on other files | Reverts all files to the chosen time | Only the selected file changes |
| Metadata retention | Basic properties only | Full metadata at the version level |
| Undo after restore | Run file restore again with a different time | Restore a previous version from history |
For legal folders, version history is the safer option when you need to recover a specific version without affecting other content. File restore is best for broad recovery after accidental deletion or ransomware, but it should not be used for targeted version correction in legal folders.
Now you can verify file restore actions in the audit log, restore the correct version using version history, and disable file restore temporarily if needed. Next, consider setting up a retention policy for legal folders in the Microsoft 365 compliance center to preserve all versions automatically. An advanced tip is to use the OneDrive admin center to create a policy that prevents users from running file restore more than once per week, reducing the risk of incorrect restores.