Retention policy doesn't prevent deletion in all cases

%3CLINGO-SUB%20id%3D%22lingo-sub-109226%22%20slang%3D%22en-US%22%3ERetention%20policy%20doesn't%20prevent%20deletion%20in%20all%20cases%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-109226%22%20slang%3D%22en-US%22%3E%3CP%3EI%20made%20this%20test%3A%20I%20created%20a%20retention%20policy%20attached%20to%20a%20label.%20The%20retention%20policy%20specified%2C%20that%20content%20that%20have%20this%20label%20applied%20should%20be%20retained%20for%20one%20month.%20I%20then%20opened%20the%20SharePoint%20site%20that%20was%26nbsp%3Bcreated%20automatically%20when%20I%20created%20a%20team%20in%20Teams%2C%20created%20a%20Word%20document%2C%20wrote%20some%20text%2C%20saved%20the%20document%20in%20the%20default%20document%20library%20and%20finally%26nbsp%3Battached%20the%20label%20to%20the%20document.%20Then%20I%20tested%20that%20I%20was%20unable%20to%20delete%20the%20document%2C%20and%20it%20worked%20as%20expected.%20I%20then%20deleted%20the%20entire%20team%2C%20after%20having%20confirmed%2C%20that%20I%20accept%20that%20this%20action%20will%20delete%20all%20content%20including%20content%20in%20the%20attached%20SharePoiont%20site%20and%26nbsp%3Bthe%20team%20was%20deleted.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EConclusion%3A%20Retention%20policies%20only%20apply%20to%20content%20if%20you%20try%20to%20delete%20the%20content%20directly%20-%20not%20if%20you%20delete%20the%20%22container%22%20that%20holds%20the%20content.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20that%20by%20design%2C%20a%20bug%20or%20me%20having%20misunderstood%20the%20concept%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EUPDATE%3C%2FSTRONG%3E%3A%20It%20turns%20out%20that%20the%20SharePoint%20site%20wasn't%20deleted%20after%20all.%20The%20team%20was%20deleted%20but%20the%20site%20survived.%20I%20then%20tried%20to%20create%20a%20new%20team%20with%20the%20same%26nbsp%3Bname%2C%20and%20this%20resulted%20in%20a%20new%20SP%20site%20was%20was%20created%2C%20only%20this%20had%20a%20%222%22%20appended%20to%20the%20url.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20of%20course%20means%20that%20if%20you%20apply%20mandatory%20retention%20policies%20to%20SharePoint%20documents%2C%20the%20number%20of%20sites%20will%20forever%20increase.%20I%20hope%20it%20will%20soon%20be%20possible%20to%20apply%20naming%20conventions!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Frequent Contributor

I made this test: I created a retention policy attached to a label. The retention policy specified, that content that have this label applied should be retained for one month. I then opened the SharePoint site that was created automatically when I created a team in Teams, created a Word document, wrote some text, saved the document in the default document library and finally attached the label to the document. Then I tested that I was unable to delete the document, and it worked as expected. I then deleted the entire team, after having confirmed, that I accept that this action will delete all content including content in the attached SharePoiont site and the team was deleted.

 

Conclusion: Retention policies only apply to content if you try to delete the content directly - not if you delete the "container" that holds the content.

 

Is that by design, a bug or me having misunderstood the concept? 

 

UPDATE: It turns out that the SharePoint site wasn't deleted after all. The team was deleted but the site survived. I then tried to create a new team with the same name, and this resulted in a new SP site was was created, only this had a "2" appended to the url.

 

This of course means that if you apply mandatory retention policies to SharePoint documents, the number of sites will forever increase. I hope it will soon be possible to apply naming conventions!

0 Replies