Issue with deleting an M365 group – Can’t remove the excluded group from retention policy
We have a retention policy in place for all groups within the org.
To my understanding should a request come in from a user asking to delete a Teams SharePoint site, we have to add the group attached to this SharePoint site to the excluded list within our Group retention policy. This then removes the retention from the SP site so we can then delete the site which also deletes the group.
When I then try to remove the group from the excluded list in the retention policy it errors as the group no longer exists within the tenant. Due to this, the policy then ends up in an ‘error’ status. How do I get the policy to a status of success? After running tests, the only way I have been able to remove the group from the excluded list in the retention policy is to restore the group but this of course restores SharePoint site which is back to square one.
Am I missing a trick here? How can this be by design if not?
Thanks
We have a retention policy in place for all groups within the org.To my understanding should a request come in from a user asking to delete a Teams SharePoint site, we have to add the group attached to this SharePoint site to the excluded list within our Group retention policy. This then removes the retention from the SP site so we can then delete the site which also deletes the group.When I then try to remove the group from the excluded list in the retention policy it errors as the group no longer exists within the tenant. Due to this, the policy then ends up in an ‘error’ status. How do I get the policy to a status of success? After running tests, the only way I have been able to remove the group from the excluded list in the retention policy is to restore the group but this of course restores SharePoint site which is back to square one.Am I missing a trick here? How can this be by design if not?Thanks Read More