I have had two cases where a user has informed me that some of their folders are empty in their Microsoft Teams file repository. Keep in mind our users sync these files using the onedrive client.
Sure enough in one instance I found the files in the recycle bin deleted by a particular user on a specific date. I used powershell and was able to restore them.
In a second instance same scenario I also found the files in the recycle bin deleted by a single user on a specific date so again used powershell to restore them. I asked the user to quickly check the folders and she said some of the folders had files but others still had missing files. When I did the restore I made an export of them to an excel sheet. The files that were still missing were not listed in this export and are also not in the recycle bin.
In both cases I was confused by why only empty folders, if such a large amount of files were deleted they would have deleted the root folder thus also deleting the folder tree. However in both cases there is a folder structure but no files.
Where would these files be if not in the recycle bin? If they were moved out of the syncing folder would these technically flag them as deleted thus being present in the recycle bin?