Forum Discussion
Flyingbirds170
May 06, 2021Copper Contributor
Retention policy and deleted group
Hello there. I do have a question regarding retention policies on o365 groups and what happens to it after deletion. As I was testing my group, I deleted it, I was able to see it as softdeleted via...
- May 06, 2021You won't "see" it, as it's not a "regular" mailbox, so it's not returned in the output of Get-Mailbox -InactiveMailboxOnly. It will however be preserved for the duration of the retention policy and can be searched via eDiscovery. Prefix the entry with . when performing an eDiscovery/Content search or just do a blank "include all" one.
Flyingbirds170
May 06, 2021Copper Contributor
Understood, even after 30 days, correct? Can I force deletion of o365 group from a recycle bin to test it out like I can with users?
VasilMichev
May 06, 2021MVP
You should be able to use Remove-AzureADMSDeletedDirectoryObject to speed the process up, yes. Either way, any group under retention will be preserved for the duration of the retention period.
- Flyingbirds170May 06, 2021Copper ContributorGot it, will play around with it, either way thank you so much for confirmation and how to search them! I would never think I can’t search by name and have to search by email with a “.”.