Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.
How to recover missing, deleted or corrupted items in SharePoint and OneDrive for work or school

Problem


In SharePoint or OneDrive, you experience one or more of the following problem scenarios:

  • Scenario 1: You're missing a file, folder, or item from a list or library.

  • Scenario 2: You've deleted a file or a folder and want to recover it.

  • Scenario 3: Your library contains corrupted versions of files that you cannot open, and you want to recover working versions of the files.

Solution

Use one of the following methods, as appropriate for your situation.

Solution for scenarios 1 and 2

  1. Use the Microsoft 365 Protection Center or the audit log report to check whether the item was moved or deleted.

    1. For more information about the Microsoft 365 Protection Center, see Search the audit log in the Security & Compliance Center.

    2. For more information about the SharePoint audit logs, see Configure audit settings for a site collection.

    3. To view an audit log report for a site collection, follow these steps:

      1. Browse to the Site Settings page for the OneDrive Library or site collection.

      2. If you aren't at the root of your site collection, click Go to top level site settings under Site Collection Administration.

      3. In the Site Collection Administration section, select Audit log reports.

      4. On the View Auditing Reports page, select the report that you want, such as Deletion.

      5. Type or browse to the library where you want to save the report, and then click OK.

      6. On the Operation Completed Successfully page, click on the click here link to view this report.

  2. Check whether the item is in the first-level or second-stage recycle bin for the affected site collection. For more information, see Restore deleted items from the site collection recycle bin.

  3. If you don't find the item in the Recycle Bin, go on to step 4. If you're using the OneDrive sync client, check whether there's a copy of the file or folder on your local computer. For more information, see Sync files with OneDrive in Windows.

  4. Finally, you can always opt to Restore your OneDrive or Restore a Shared Library by following the instructions below:

  5. If steps 1–4 don't resolve the issue, contact support. When you open a request, provide as much additional information as possible to describe your issue. For more information, see Contact Microsoft 365 support. Include the following information in your request:

    • The full URL for the affected site collection or library.

      For example: https://contoso.sharepoint.com/sites/<SiteCollectionName>/Shared%20Documents

    • The names of several of the affected items. For files, include the file name extension.

    • The date and time when you think the item was last in an uncorrupted state.

    Note: SharePoint Online retains backups of all content for 14 additional days beyond actual deletion. If content cannot be restored via the Recycle Bin or Files Restore, an administrator can contact Microsoft Support to request a restore any time inside the 14-day window. Restorations from backups can be completed only for site collections or sub-sites, not for specific files, lists, or libraries.

Solution for scenario 3

If many of your OneDrive or SharePoint files were deleted, overwritten, corrupted, or infected by malware, you can restore your entire OneDrive to a previous time.

For more information on Files Restore, follow the links below:

If you only have one file or a select few files, you may opt to restore those specific files to an earlier version of the affected file from an existing file. To do this, follow these steps:

  1. Sign in to the Microsoft 365 portal.

  2. Browse to the library that contains the affected file.

  3. Click the ellipses (...) next to the file, and then click Version History

    Note: If you're using the classic OneDrive view, click the ellipses next to the file, click the ellipses in the preview window, and then click Version History.

  4. Click the drop-down arrow for the date of the earlier version, click Restore, and then click OK.

    If this doesn't fix the problem, go to the next step.

  5. If you're using the OneDrive sync client, check whether there's a working copy of the file or folder on your local computer. For more information, see Sync files with OneDrive in Windows.

  6. If steps 1–5 don't resolve the issue, contact support. When you open a request, provide as much additional information as possible to describe your issue. For more information, see Contact Microsoft 365 support. Include the following information in your request:

    • The full URL for the affected site collection or library.

      For example: https://contoso.sharepoint.com/sites/<SiteCollectionName>/Shared%20Documents

    • The names of several of the affected items. For files, include the file name extension.

    • The date and time when you think the file was last in a healthy state.

    Note: SharePoint Online retains backups of all content for 14 additional days beyond actual deletion. If content cannot be restored via the Recycle Bin or Files Restore, an administrator can contact Microsoft Support to request a restore any time inside the 14-day window. Restorations from backups can be completed only for site collections or sub-sites, not for specific files, lists, or libraries.

More Information

For more information, see the following Microsoft websites:


Still need help? Go to the Microsoft Community.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×