Deleted File Recovery

Fix SharePoint Online Recycle Bin Errors When Restoring Large Numbers of Files

Algirdas JasaitisAlgirdas Jasaitis Nov 20, 2026 869 views

Question details

Restore thousands of files deleted from a SharePoint Online library through OneDrive synchronization.

Fix SharePoint Online Recycle Bin Errors When Restoring Large Numbers of Files
Product
SharePoint Online and OneDrive
Device & OS
not provided
Scenario
A user needs to recover a large number of files from a SharePoint library's Recycle Bin.
Observed behavior
Restore operations fail, are canceled, or time out, sometimes showing the error "Value does not fall within the expected range."
Before you start

Confirm that the deleted files are still in the SharePoint site's Recycle Bin and that you have permission to restore them. Check the deletion date and coordinate with the SharePoint administrator before starting a large recovery.

Solution 1Recommended

Restore SharePoint Recycle Bin Items in Smaller Batches

Use smaller selections to reduce the load on each restore operation and verify progress between batches.

1
Open the site Recycle Bin

Open the affected SharePoint site and select Recycle bin in the left navigation. If it is not visible, select Settings, then Site contents, and open Recycle bin.

2
Select a small group

Find the deleted files and select a small group of items. If a batch still times out or fails, reduce the selection further.

3
Restore and wait

Select Restore and allow the operation to finish before starting another batch. Check the destination library to confirm that the selected files have returned.

4
Continue or escalate

Repeat the selection and restore process for the remaining items. If even small batches consistently fail, stop retrying and ask a SharePoint administrator to investigate.

Restore SharePoint Recycle Bin Items in Smaller Batches
Check the second-stage Recycle Bin: If items are missing from the site Recycle Bin, a site collection administrator can check the Second-stage recycle bin link at the bottom of the Recycle Bin page. Retention limits still apply.
Free Microsoft Office alternative

Work With Recovered Office Files in WPS Office

After your SharePoint files are restored, use WPS Office as a free, lightweight alternative for opening and editing Office documents. Its familiar interface and format support make it easier to move your everyday document work to WPS. WPS Office does not restore the SharePoint Recycle Bin.

Open and edit recovered documents, spreadsheets, and presentationsCompatible with Microsoft Office formats including DOCX, XLSX, and PPTXFree, lightweight office suite with a familiar interfaceMove existing Office files into your WPS workflow without changing their formats
microsoft office alternative - wps office

Frequently Asked Questions

Why does restoring thousands of SharePoint files time out?

Large selections can exceed what a single browser restore operation handles reliably. Try a smaller group in the site's Recycle bin, wait for it to finish, and verify the result before starting another batch.

What if a batch of 100 files still fails to restore?

Select fewer items in the Recycle bin and try again. If small batches also fail, give the site URL, deletion details, and exact errors to a SharePoint administrator for an approved recovery process or Microsoft Support escalation.

Where can I find files that are no longer in the site Recycle Bin?

A site collection administrator can open the Second-stage recycle bin from the link at the bottom of the site's Recycle Bin page. Items are subject to SharePoint's retention limits, so they may no longer be available.

Can I restore the whole library instead of selecting individual files?

If available for your plan and permissions, open the document library, select Settings, and choose Restore this library. Review the selected restore point carefully because the operation can roll back other changes across the library.

Can WPS Office restore files deleted from SharePoint?

No. Restore the files through SharePoint's Recycle Bin, library restore, or an administrator-led process first. WPS Office can then open supported Office files such as DOCX, XLSX, and PPTX.