Forum Discussion
JakobRohde
Dec 03, 2019Iron Contributor
Excluding a team from retention policy
We have included everything in retention policies, i.e. Groups, SharePoint, Exchange and Team channel messages and Teams chats. Now I want to exclude a team in order to delete it entirely, including the associated SPO site. Where do I then have to add exceptions? Do I need to explicitly exclude the group, the site, the channel messages and the chat or is it sufficient to only exclude the group?
Let me clarify what I have found out:
I made an exception in the retention policy, excluding the Office 365 group in question. That allowed me to delete the team and this in turn resulted in the site and the groups also was deleted. It might take a while though and sometimes it might also fail, I guess.
Deleting the Team doesn't delete the associated SPO site anyway, so you have to do that part manually. But yes, if you don't want anything to be stored after the deletion (in "inactive" state), add exclusions across the board.
- Magnus AnderssonBrass Contributor
VasilMichev You sure the site isn't deleted? https://support.office.com/en-us/article/delete-a-team-c386f91b-f7e6-400b-aac7-8025f74f8b41#ID0EAABAAA=Desktop
Fine, in theory it should be deleted 🙂 But in practice the process fails quite often. In my tenant, out of 25 sites with the Group#0 template, I have 10 orphaned ones, remaining after the deletion of the underlying group/team.
- Hi Jakob,
AFAIK, can't you set exceptions in the policy via the Office 365 Admin Centre? You would need to amend the policy to set the exclusion. I imagine this would need to be for the Team, the SPO Site and the Office 365 Groups because of the different types of data associated with that Team
https://docs.microsoft.com/en-us/microsoftteams/retention-policies-faq
Let me know how it goes
Best, Chris