How do i stop the system from automatically deleting files in a SharePoint share?

%3CLINGO-SUB%20id%3D%22lingo-sub-2666516%22%20slang%3D%22en-US%22%3EHow%20do%20i%20stop%20the%20system%20from%20automatically%20deleting%20files%20in%20a%20SharePoint%20share%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2666516%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20network%20administrator%20for%20a%20theater%20that%20relies%20heavily%20on%20files%20from%20previous%20year's%20activities.%26nbsp%3B%20Since%20migrating%20from%20a%20local%20server%20to%20SharePoint%2C%20the%20system%20account%20has%20been%20deleting%20files%20over%202%20years%20old.%26nbsp%3B%20If%20the%20files%20are%20restored%20from%20the%20recycle%20bin%20or%20re-migrated%2C%20they%20are%20still%20being%20deleted.%26nbsp%3B%20The%20default%20SharePoint%20file%20retention%20policy%20has%20been%20set%20to%2010%20years%20in%20the%20information%20governance%20section%20of%20the%20Microsoft%20365%20compliance%20tool.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20do%20I%20completely%20stop%20this%20behavior%3F%26nbsp%3B%20%26nbsp%3BIt%20is%20very%20frustrating%20for%20my%20users%20to%20look%20for%20a%20file%20and%20have%20to%20go%20back%20to%20the%20old%20server%20to%20find%20it.%26nbsp%3B%20It%20is%20making%20the%20SharePoint%20implementation%20worthless.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2666516%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2666972%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20i%20stop%20the%20system%20from%20automatically%20deleting%20files%20in%20a%20SharePoint%20share%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2666972%22%20slang%3D%22en-US%22%3ETo%20my%20knowledge%20there%20is%20not%20a%20default%20setting%20in%20SPO%20that%20causes%20files%20over%202%20years%20old%20to%20be%20deleted.%20What%20are%20you%20using%20for%20the%20migration%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2666988%22%20slang%3D%22en-US%22%3ERe%3A%20How%20do%20i%20stop%20the%20system%20from%20automatically%20deleting%20files%20in%20a%20SharePoint%20share%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2666988%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F60%22%20target%3D%22_blank%22%3E%40Juan%20Carlos%20Gonz%C3%A1lez%20Mart%C3%ADn%3C%2FA%3E%26nbsp%3BI%20used%20the%20standard%20MSFT%20migration%20tool.%26nbsp%3B%20The%20files%20migrated%20and%20looked%20fine%20until%20a%20couple%20of%20days%20later%20a%20system%20process%20came%20through%20and%20%22cleaned%20up%22%20the%20result%20is%20a%20folder%20structure%20with%20no%20files%20in%20it%20and%20all%20the%20files%20in%20the%20recycle%20bin%20for%20the%20share.%26nbsp%3B%20If%20I%20restore%20them%20from%20the%20bin%2C%20they%20stay%20for%20a%20few%20days%20then%20are%20removed%20again.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I am network administrator for a theater that relies heavily on files from previous year's activities.  Since migrating from a local server to SharePoint, the system account has been deleting files over 2 years old.  If the files are restored from the recycle bin or re-migrated, they are still being deleted.  The default SharePoint file retention policy has been set to 10 years in the information governance section of the Microsoft 365 compliance tool.  

 

How do I completely stop this behavior?   It is very frustrating for my users to look for a file and have to go back to the old server to find it.  It is making the SharePoint implementation worthless.

5 Replies
To my knowledge there is not a default setting in SPO that causes files over 2 years old to be deleted. What are you using for the migration?

@Juan Carlos González Martín I used the standard MSFT migration tool.  The files migrated and looked fine until a couple of days later a system process came through and "cleaned up" the result is a folder structure with no files in it and all the files in the recycle bin for the share.  If I restore them from the bin, they stay for a few days then are removed again.  

That's strange...do you have any filter configured in the SPMT?

Nope - all files are migrated and stick around for a week or so before the system process "cleans up" Looking at the dated in the recycle bin for one of the shares, it looks like the process runs every 2 weeks (8/5 and 8/19). Also, I created and migrated a new site on 7/8 and on 7/15 all of
the files were moved to the recycle bin leaving an empty structure. The last modified date on the base folder was 5/2019.
Mmm...worth to open a support ticket so they can dig into what might be happening here. I would also recommend to do a test migration using the migration manager to see what happens