Microsoft Teams Empty Folders

%3CLINGO-SUB%20id%3D%22lingo-sub-2107981%22%20slang%3D%22en-US%22%3EMicrosoft%20Teams%20Empty%20Folders%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2107981%22%20slang%3D%22en-US%22%3EI%20have%20had%20two%20cases%20where%20a%20user%20has%20informed%20me%20that%20some%20of%20their%20folders%20are%20empty%20in%20their%20Microsoft%20Teams%20file%20repository.%20Keep%20in%20mind%20our%20users%20sync%20these%20files%20using%20the%20onedrive%20client.%3CBR%20%2F%3E%3CBR%20%2F%3ESure%20enough%20in%20one%20instance%20I%20found%20the%20files%20in%20the%20recycle%20bin%20deleted%20by%20a%20particular%20user%20on%20a%20specific%20date.%20I%20used%20powershell%20and%20was%20able%20to%20restore%20them.%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20a%20second%20instance%20same%20scenario%20I%20also%20found%20the%20files%20in%20the%20recycle%20bin%20deleted%20by%20a%20single%20user%20on%20a%20specific%20date%20so%20again%20used%20powershell%20to%20restore%20them.%20I%20asked%20the%20user%20to%20quickly%20check%20the%20folders%20and%20she%20said%20some%20of%20the%20folders%20had%20files%20but%20others%20still%20had%20missing%20files.%20When%20I%20did%20the%20restore%20I%20made%20an%20export%20of%20them%20to%20an%20excel%20sheet.%20The%20files%20that%20were%20still%20missing%20were%20not%20listed%20in%20this%20export%20and%20are%20also%20not%20in%20the%20recycle%20bin.%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20both%20cases%20I%20was%20confused%20by%20why%20only%20empty%20folders%2C%20if%20such%20a%20large%20amount%20of%20files%20were%20deleted%20they%20would%20have%20deleted%20the%20root%20folder%20thus%20also%20deleting%20the%20folder%20tree.%20However%20in%20both%20cases%20there%20is%20a%20folder%20structure%20but%20no%20files.%3CBR%20%2F%3E%3CBR%20%2F%3EWhere%20would%20these%20files%20be%20if%20not%20in%20the%20recycle%20bin%3F%20If%20they%20were%20moved%20out%20of%20the%20syncing%20folder%20would%20these%20technically%20flag%20them%20as%20deleted%20thus%20being%20present%20in%20the%20recycle%20bin%3F%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2107981%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor
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?
0 Replies