Retention policy on SPO - stop file deletion which is in progress.

%3CLINGO-SUB%20id%3D%22lingo-sub-1326098%22%20slang%3D%22en-US%22%3ERetention%20policy%20on%20SPO%20-%20stop%20file%20deletion%20which%20is%20in%20progress.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1326098%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20defined%20a%20retention%20policy%20on%20SharePoint%20Online%20to%20retain%20content%20for%2010%20years%20and%20after%20the%20retention%20period%20is%20complete%2C%20delete%20the%20files%20-%20'Delete%20Only'%20policy.%20Now%2C%20I%20have%20a%20site%20which%20has%20migrated%20content%20which%20dates%20back%20to%201997%20and%20I%20have%20noticed%20that%20all%20the%20files%20older%20than%2010%20years%20are%20getting%20deleted%20by%20the%20retention%20policy.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20any%20way%20to%20stop%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20tried%20the%20following%20approaches%2C%20%3CSTRONG%3Ebut%20the%20file%20deletion%20is%20still%20in%20progress%3C%2FSTRONG%3E%3A%3C%2FP%3E%3CP%3E1.%20I%20updated%20the%20policy%20from%20'Delete-Only'%20mode%20to%20'Retain-Only'%20mode.%20I%20used%20PowerShell%20for%20this%20because%20the%20web%20interface%20of%20Office%20365%20Security%20%26amp%3B%20Compliance%20Center%20does%20not%20allow%20this%20change.%3C%2FP%3E%3CP%3E2.%20Since%20step%20%231%20did%20not%20work%2C%20I%20excluded%20the%20site%20from%20the%20retention%20policy%2C%20but%20even%20then%20the%20deletion%20is%20still%20in%20progress.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EP.S%3A%20There%20are%20around%20100%2C000%20files%20on%20this%20site.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1326098%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECompliance%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMigration%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Contributor

Hi,

 

I have defined a retention policy on SharePoint Online to retain content for 10 years and after the retention period is complete, delete the files - 'Delete Only' policy. Now, I have a site which has migrated content which dates back to 1997 and I have noticed that all the files older than 10 years are getting deleted by the retention policy.

 

Is there any way to stop this?

 

I tried the following approaches, but the file deletion is still in progress:

1. I updated the policy from 'Delete-Only' mode to 'Retain-Only' mode. I used PowerShell for this because the web interface of Office 365 Security & Compliance Center does not allow this change.

2. Since step #1 did not work, I excluded the site from the retention policy, but even then the deletion is still in progress.

 

P.S: There are around 100,000 files on this site.

 

1 Reply
Since it takes 24 hours for some of these changes to take effect, I don't think you can expect immediate relief.