Force delete group object from soft delete/deleted group

Article - Permanently deleting an Office 365 Group object in retention enabled environment – Microsoft Cloud Infrastructure Technical Journal (wordpress.com)

Now let’s run this one to get the group GUID from the deleted list

  • Get-AzureADMSDeletedGroup

1
image

Copy that GUID of the desired group and run the following by targeting that ID.

  • Remove-AzureADMSDeletedDirectoryObject -Id <ReplaceWithGroupID>

It should result as follows if it was success

clip_image001

To ensure the deletion is successful, run the same command again and see if it doesn’t return the group name you deleted. It shouldn’t !

  • Get-AzureADMSDeletedGroup

No comments: