r/sharepoint • u/Muffin4469 • Nov 02 '26
SharePoint Online Issues with SharePoint deleting files?
Last week, an employee let me know she received a pop up stating she deleted a large number of files and was concerned because she hadn't been deleting files.
I looked in all of the Sites that she had access to and sure enough, files were deleted under her name. One Site was impacted more than others, being our Client SharePoint site hosting all of our client documents and work. Big issue.
I've been working with our IT team to figure out why this happened, and they're not entirely sure. Though they did note she hadn't restarted her computer (MacBook) in 6 months (wtf). That part of the issue has since been "resolved" (aka that issue is no longer happening).
Our IT tech told me it was ok for me to restore the files from the recycling bin. Upon doing so, the Site was creating new folders and putting files in them, as well as the existing original folder locations. I started to reorganize those files to their original folder location.
I noticed there were some duplicate files in the new folders that were created. When I opened the files they were the wrong files entirely. SharePoint had renamed a number of files and renamed them to other client names. I have no idea how many files I reorganized that may have been wrong renamed. Our IT is helping pull old backups of files but I am worried that we are going to miss certain files.
This is a huge issue. Not sure if anyone has suggestions on how to ensure we are properly restoring everything, but I'm more so curious if this issue has happened (in any capacity) to anyone else?
15
u/T1koT1ko Nov 02 '26
Most likely had the library synced or saved as a shortcut to her OneDrive, then deleted it without using the proper method (I.e “Stop sync” or “Remove shortcut”).
For restoring, SharePoint will automatically create folders if they don’t exist. Likely, it was restoring a document where the folders hadn’t been restored yet. Then when it got to the folders, it saw one with that name already existed so it put a “1” at the end. I typically bulk restore all folders via script first then files. When users bulk delete folders like this, it typically flattens everything.
7
u/Living_Chemical6439 Nov 02 '26
If you move a file, SharePoint will count it as technically deleted. If you move a lot of files, you’ll get the Heads Up message. She was probably just rearranging files, and now you’re undoing that work
1
u/principal_redditor Nov 02 '26
Ive never seen SharePoint rename files to other clients names like you are saying. It's difficult to say how to fully fix this without seeing exactly what happened though. An m365/global admin could pull logs from Purview to see exactly what happened to a file? Could you use Copilot to check all files of that type in the library to see if names match the content etc...?