|
1 | 1 | --- |
2 | | -title: A synced SharePoint file is moved to the recycle bin |
3 | | -description: When you synchronize a SharePoint Online or OneDrive for Business library to your computer, a synced file is moved to the SharePoint Online or OneDrive for Business recycle bin. |
| 2 | +title: A file that was synchronized in SharePoint Online or OneDrive is moved to the recycle bin |
| 3 | +description: Describes an issue when a file in a synchronized SharePoint Online or OneDrive library is moved to the recycle bin. |
4 | 4 | author: Cloud-Writer |
5 | 5 | manager: dcscontentpm |
6 | 6 | search.appverid: |
7 | 7 | - MET150 |
8 | 8 | audience: ITPro |
9 | 9 | ms.topic: troubleshooting |
10 | 10 | ms.author: meerak |
| 11 | +ms.reviewer: nirupme |
11 | 12 | ms.custom: |
12 | 13 | - sap:Backup and Restore\Site Recycle Bin |
13 | 14 | - CSSTroubleshoot |
14 | 15 | appliesto: |
15 | 16 | - SharePoint Online |
16 | | -ms.date: 12/17/2023 |
| 17 | + - OneDrive |
| 18 | +ms.date: 01/29/2026 |
17 | 19 | --- |
18 | 20 |
|
19 | | -# A file that was synchronized in SharePoint Online or OneDrive for Business is moved to the recycle bin |
| 21 | +# A file that was synchronized in SharePoint Online or OneDrive is moved to the recycle bin |
20 | 22 |
|
21 | | -## Problem |
| 23 | +## Summary |
| 24 | +This article discusses the scenario when a file in a SharePoint Online or OneDrive library is moved to the recycle bin after the library is synchronized. The article explains the actions that might cause the issue and the steps you can take to find out more information. |
22 | 25 |
|
23 | | -This article contains information that applies when you use the OneDrive sync client (onedrive.exe) or the OneDrive for Business sync client (groove.exe) OneDrive for Business sync client. |
| 26 | +## Symptoms |
24 | 27 |
|
25 | | -> [!NOTE] |
26 | | -> To determine which OneDrive sync client you're using, see [Which version of OneDrive am I using?](https://support.office.com/article/which-version-of-onedrive-am-i-using-19246eae-8a51-490a-8d97-a645c151f2ba) |
| 28 | +When you synchronize a Microsoft SharePoint Online library or a OneDrive library to your computer by using the OneDrive sync client (onedrive.exe), a file that was synchronized is unexpectedly moved from the library to the SharePoint Online or OneDrive recycle bin. |
27 | 29 |
|
28 | | -When you synchronize a Microsoft SharePoint Online or OneDrive for Business library to your computer by using the OneDrive for Business sync application, a file that was synchronized is unexpectedly moved from the SharePoint Online or OneDrive for Business library to the SharePoint Online or OneDrive for Business recycle bin. |
| 30 | +## Cause |
29 | 31 |
|
30 | | -## Solution |
| 32 | +This issue occurs because a user accidentally deleted the file, or a local application for the user who synchronized the library deleted the file. |
31 | 33 |
|
32 | | -This scenario frequently occurs because the file was accidentally deleted or was removed by a local application for a user who was synchronizing the library. You should check the **Deleted By** field for the affected file in the SharePoint Online or OneDrive for Business recycle bin. The account that's listed in this field is for the user who performed the delete operation for the file. When you delete a file locally in a folder that's configured to synchronize by using the OneDrive for Business sync application, the delete operation is synchronized with SharePoint Online, and the item is moved to the recycle bin. |
| 34 | +## Resolution |
33 | 35 |
|
34 | | -You can confirm that the file wasn't intentionally or accidentally deleted by the user who is listed in the **Deleted By** field. This is important when multiple users are synchronizing a single library. For example, in some cases, a user may try to copy a file that may have been accidentally moved to another directory. This removes the file from the synchronized library. |
| 36 | +To identify the user who deleted the affected file, open the SharePoint Online or OneDrive recycle bin, and then check the **Deleted By** field for the affected file. The account that's listed in this field is for the user who performed the delete operation. |
35 | 37 |
|
36 | | -If the file wasn't intentionally or accidentally deleted, you should have the user who's listed in the **Deleted By** field review the computer to determine whether a local process moved or deleted the item. For example, local virus-protection software may be configured to quarantine files. |
| 38 | +Try to determine whether the file was intentionally or accidentally deleted by the identified user. This information is important if multiple users are synchronizing a single library. For example, in some cases, a user might try to copy a file that might have been accidentally moved to another directory. This action removes the file from the synchronized library. |
| 39 | + |
| 40 | +If the file wasn't intentionally or accidentally deleted by the **Deleted By** user, ask the user whether a local process might have moved or deleted the file. For example, local virus-protection software could be configured to quarantine files. |
37 | 41 |
|
38 | 42 | ## More information |
39 | 43 |
|
40 | | -Still need help? Go to [SharePoint Community](https://techcommunity.microsoft.com/t5/sharepoint/ct-p/SharePoint). |
| 44 | +If a folder is deleted from a locally synced SharePoint library, the OneDrive sync client processes this action as a standard file system deletion. The OneDrive sync client then syncs this change to the cloud (SharePoint/OneDrive). When other users who synced the same library receive this update, their devices also delete the folder locally. Therefore, the operating system moves the deleted folder into each user’s local recycle bin. The OneDrive client makes sure that local folders and the cloud library are kept in sync. This process also applies to empty folders. |
0 commit comments