Retention policy for SharePoint sites

%3CLINGO-SUB%20id%3D%22lingo-sub-143403%22%20slang%3D%22en-US%22%3ERetention%20policy%20for%20SharePoint%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-143403%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EI%20have%20set%20a%20retention%20policy%20for%20SharePoint%20sites%20and%20it%20works%20as%20expected.%3C%2FP%3E%0A%3CP%3EI%20used%20the%20%22Retention%22%26nbsp%3B%20under%20the%20security%20and%20compliance%20portal%2C%20under%20the%20Data%20Governance%20section%20(%3CA%20href%3D%22https%3A%2F%2Fprotection.office.com%2F%23%2Fretention%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fprotection.office.com%2F%23%2Fretention%3C%2FA%3E)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20trying%20to%20delete%20a%20file%20a%20pop%20up%20message%20appears%20and%20the%20deletion%20doesn't%20work.%20as%20expected.%3CBR%20%2F%3EMy%20question%20is%20what%20is%20the%20expected%20behavior%20for%20a%20site%20collection%20deletion%3F%3C%2FP%3E%0A%3CP%3EHow%20does%20the%20retention%20policy%20effect%20a%20deletion%20of%20a%20site%20collection%3F%3CBR%20%2F%3E%20I%20can%20enter%20the%20SharePoint%20admin%20center%2C%20mark%20the%20site%20collection%20and%20delete%20it.%20It%20goes%20to%20the%20recycle%20bin%20and%20after%2030%20days%20it%20will%20be%20moved%20to%20the%20second%20level%20recycle%20bin%2C%20but%20how%20does%20the%20retention%20policy%20effects%20the%20deletion%20of%20the%20whole%20site%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%3CBR%20%2F%3EEffy%20L.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-143403%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%20Center%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20Administration%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-354529%22%20slang%3D%22en-US%22%3ERe%3A%20Retention%20policy%20for%20SharePoint%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-354529%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERetention%20Policy%20only%20works%20for%20the%20content%20on%20those%20SharePoint%20sites%20and%20not%20on%20the%20Site%20Collection%20or%20the%20Subsites.%3C%2FP%3E%3CP%3EA%20site%20collection%20can%20only%20be%20deleted%20by%20the%20administrators%20and%20you%20don't%26nbsp%3Bprovide%20every%20user%20with%20the%20administrative%20permissions.%20Request%20you%20limit%20your%20user%20privileges.%3C%2FP%3E%3CP%3ESimply%20you%20can%20enable%20the%20alert%20and%20auditing%20so%20that%20you%20can%20get%20an%20alert%20if%20the%20admin%20deletes%20any%20site%20collection%20or%20subsites%20and%20auditing%20can%20help%20you%20to%20view%20users%20and%20administrator%20activities%20on%20SharePoint%20Online.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20this%20helps.%20Thanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2258607%22%20slang%3D%22en-US%22%3ERe%3A%20Retention%20policy%20for%20SharePoint%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2258607%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20a%20retention%20policy%20for%20all%20sharepoint%20sites%20to%20prevent%20deletion.%3C%2FP%3E%3CP%3EI%20want%20to%20delete%20one%20of%20the%20sites.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20to%20exclude%20the%20site%20from%20the%20policy%20rather%20than%20it%20applying%20to%20all%20sites.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20seems%20you%20can%20only%20select%20sites%20one%20at%20a%20time%20to%20include%20in%20the%20policy%20(meaning%20possibly%20new%20ones%20will%20not%20automatically%20get%20included)%26nbsp%3B%20Would%20be%20useful%20to%20have%20a%20select%20all%20%2F%20exclude%20checkbox%20against%20list%20of%20sites%20in%20retention%20policy.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello,

I have set a retention policy for SharePoint sites and it works as expected.

I used the "Retention"  under the security and compliance portal, under the Data Governance section (https://protection.office.com/#/retention)

 

When trying to delete a file a pop up message appears and the deletion doesn't work. as expected.
My question is what is the expected behavior for a site collection deletion?

How does the retention policy effect a deletion of a site collection?
I can enter the SharePoint admin center, mark the site collection and delete it. It goes to the recycle bin and after 30 days it will be moved to the second level recycle bin, but how does the retention policy effects the deletion of the whole site?

Thanks,
Effy L.

 

3 Replies

Hello, 

 

Retention Policy only works for the content on those SharePoint sites and not on the Site Collection or the Subsites.

A site collection can only be deleted by the administrators and you don't provide every user with the administrative permissions. Request you limit your user privileges.

Simply you can enable the alert and auditing so that you can get an alert if the admin deletes any site collection or subsites and auditing can help you to view users and administrator activities on SharePoint Online.

 

Hope this helps. Thanks.

We have a retention policy for all sharepoint sites to prevent deletion.

I want to delete one of the sites.

 

Is there a way to exclude the site from the policy rather than it applying to all sites.

 

It seems you can only select sites one at a time to include in the policy (meaning possibly new ones will not automatically get included)  Would be useful to have a select all / exclude checkbox against list of sites in retention policy.

 

The only way I see now is to remove all sharepoint sites from the retention policy.  Wait for this change to propagate, delete the site and then enable the policy again for all sites waiting for it to propagate the change a second time.  This second wait time allows a window where sites could be deleted unintentionally so not ideal.

 

Hello,

Note - Retention Policy doesn't work for the sites which is connected to a Microsoft 365 Group.

Now we have this option to add separate sites in the Retention Policy. No need to add All Sites n, just enter the site URL and then click the Add button and the specific SharePoint will get added for the Retention Policy. You even has the option to exclude the SharePoint Site however that only works if you have added All Sites to the Retention Policy.

Link - https://compliance.microsoft.com/informationgovernance?viewid=retention&rfr=scc_retention

Let me know if this helps.

Thanks!