O365 Group Retention Policy - Group Deletion

%3CLINGO-SUB%20id%3D%22lingo-sub-1477106%22%20slang%3D%22en-US%22%3EO365%20Group%20Retention%20Policy%20-%20Group%20Deletion%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1477106%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20finding%20orphaned%20modern%20experience%20SharePoint%20sites%2C%20not%20connected%20to%20an%20O365%20group.%20What%20I%20have%20determined%20is%20that%20a%20retention%20policy%20is%20in%20place%20for%20O365%20groups%2C%20which%20I%20assume%20affects%20SharePoint%20as%20an%20associated%20resource.%20When%20in%20SharePoint%20admin%2C%20all%20of%20the%20sites%20note%20%22This%20site%20has%20a%20compliance%20policy%20set%20to%20block%20deletion%22.%20My%20questions%20are%20as%20follows%3A%3C%2FP%3E%3COL%3E%3CLI%3EDoes%20a%20retention%20policy%20on%20O365%20groups%20affect%20associated%20resources%20like%20SharePoint%2C%20where%20the%20group%20can%20be%20deleted%2C%20but%20the%20SharePoint%20site%20remains%2C%20following%20the%20retention%20policy%20deletion%20period%3F%3C%2FLI%3E%3CLI%3EIf%20the%20O365%20group%20is%20deleted%2C%20does%20it%20break%20the%20link%20that%20ties%20all%20groups'%20resources%20together%20and%20that%20is%20why%20I%20am%20finding%20the%20%22orphaned%22%20SharePoint%20sites%3F%3C%2FLI%3E%3CLI%3EDo%20I%20have%20to%20remove%20the%20retention%20policy%20before%20I%20am%20able%20to%20delete%20the%20SharePoint%20site%20(many%20are%20empty%20as%20they%20were%20created%20as%20part%20of%26nbsp%3B%20O365%20group%20testing)%3F%3C%2FLI%3E%3CLI%3EIf%20a%20group%20was%20created%20as%20part%20of%20a%20Teams%20creation%2C%20can%20the%20Teams%20owner%20delete%20the%20group%20-%20or%20better%20yet%2C%20who%20can%20delete%20Groups%3F%3C%2FLI%3E%3CLI%3EIf%20normal%20%22users%22%20can't%20delete%20O365%20groups%2C%20what%20is%20the%20purpose%20of%20having%20a%20retention%20policy%20on%20O365%20groups%3F%3C%2FLI%3E%3C%2FOL%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1477106%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%20Groups%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1477447%22%20slang%3D%22en-US%22%3ERe%3A%20O365%20Group%20Retention%20Policy%20-%20Group%20Deletion%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1477447%22%20slang%3D%22en-US%22%3E%3CP%3E1)%20Depends%20on%20the%20policy%20scope%2C%20but%20generally%20speaking%20yes%20-%20if%20applied%20to%20a%20Group%20the%20policy%20covers%20both%20the%20mailbox%20and%20the%20SPO%20site%3C%2FP%3E%0A%3CP%3E2)%20Yes%2C%20as%20different%20workloads%20handle%20retention%20differently.%20In%20particular%2C%20Exchange%20will%20turn%20the%20group%20mailbox%20into%20%22inactive%22%20one%2C%20but%20SPO%20will%20keep%20the%20site.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E3)%20Again%20depends%20on%20the%20policy%2C%20but%20generally%20speaking%20yes%3C%2FP%3E%0A%3CP%3E4)%20They%20can%2C%20but%20it%20depends%20on%20which%20%22endpoint%22%20they%20will%20use%3C%2FP%3E%0A%3CP%3E5)%20The%20purpose%20of%20retention%20policy%20is%20compliance%2C%20and%20you%20definitely%20don't%20want%20end%20users%20to%20be%20able%20to%20bypass%20functionalities%20that%20relate%20to%20compliance%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1480574%22%20slang%3D%22en-US%22%3ERe%3A%20O365%20Group%20Retention%20Policy%20-%20Group%20Deletion%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1480574%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20the%20reply.%20The%20retention%20policy%20is%20very%20simple%3A%3C%2FP%3E%3CUL%3E%3CLI%3Eapplied%20to%26nbsp%3Ball%20Office%20365%20groups%3C%2FLI%3E%3CLI%3Eretain%20for%203%20years%3C%2FLI%3E%3CLI%3Edo%20not%20delete%20after%20this%20time%3C%2FLI%3E%3CLI%3Eretain%20or%20delete%20the%20content%20based%20on%20when%20it%20was%20created%3C%2FLI%3E%3C%2FUL%3E%3CP%3EWe%20have%20many%20O365%20groups%20created%20for%20the%20purpose%20of%20Planner%20and%20not%20one%20of%20them%20have%20documents%20in%20the%20SPO%20sites.%20We%20have%20many%20test%20O365%20groups%20that%20were%20created%2C%20that%20created%20SPO%20sites%20and%20none%20of%20it%20is%20needed%20because%20the%20group%20was%20a%20test.%20With%20the%20deletion%20of%20the%20O365%20group%2C%20the%20empty%20SPO%20site%20remains.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20SPO%20keeps%20the%20site%2C%26nbsp%3Bwhile%20the%20mailbox%20and%20O365%20group%20is%20deleted%2C%20how%20can%20I%20remove%20these%20orphaned%26nbsp%3BSPO%20sites%3F%20Remove%20the%20policy%2C%20delete%20the%20SPO%20and%20then%20establish%20the%20policy%20again%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1481146%22%20slang%3D%22en-US%22%3ERe%3A%20O365%20Group%20Retention%20Policy%20-%20Group%20Deletion%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1481146%22%20slang%3D%22en-US%22%3E%3CP%3EThat's%20one%20way%20to%20go%2C%20you%20should%20also%20be%20able%20to%20exclude%20them%20from%20the%20policy%20while%20keeping%20it%20active.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I am finding orphaned modern experience SharePoint sites, not connected to an O365 group. What I have determined is that a retention policy is in place for O365 groups, which I assume affects SharePoint as an associated resource. When in SharePoint admin, all of the sites note "This site has a compliance policy set to block deletion". My questions are as follows:

  1. Does a retention policy on O365 groups affect associated resources like SharePoint, where the group can be deleted, but the SharePoint site remains, following the retention policy deletion period?
  2. If the O365 group is deleted, does it break the link that ties all groups' resources together and that is why I am finding the "orphaned" SharePoint sites?
  3. Do I have to remove the retention policy before I am able to delete the SharePoint site (many are empty as they were created as part of  O365 group testing)?
  4. If a group was created as part of a Teams creation, can the Teams owner delete the group - or better yet, who can delete Groups?
  5. If normal "users" can't delete O365 groups, what is the purpose of having a retention policy on O365 groups?
3 Replies
Highlighted

1) Depends on the policy scope, but generally speaking yes - if applied to a Group the policy covers both the mailbox and the SPO site

2) Yes, as different workloads handle retention differently. In particular, Exchange will turn the group mailbox into "inactive" one, but SPO will keep the site. 

3) Again depends on the policy, but generally speaking yes

4) They can, but it depends on which "endpoint" they will use

5) The purpose of retention policy is compliance, and you definitely don't want end users to be able to bypass functionalities that relate to compliance

 

Highlighted

@Vasil Michev 

Thanks for the reply. The retention policy is very simple:

  • applied to all Office 365 groups
  • retain for 3 years
  • do not delete after this time
  • retain or delete the content based on when it was created

We have many O365 groups created for the purpose of Planner and not one of them have documents in the SPO sites. We have many test O365 groups that were created, that created SPO sites and none of it is needed because the group was a test. With the deletion of the O365 group, the empty SPO site remains.

 

If SPO keeps the site, while the mailbox and O365 group is deleted, how can I remove these orphaned SPO sites? Remove the policy, delete the SPO and then establish the policy again?

 

 

Highlighted

That's one way to go, you should also be able to exclude them from the policy while keeping it active.