Let's say you have an Office 365 Group. You add a bunch of people. They add events to the calendar. Everyone is getting the calendar invites. They don't want that.
OK, first step is to delete the Office 365 Group through the GUI. Easy enough.
Now it still shows in Outlook. We want it completely gone.
- -start POWERSHELL (as administrator).
- -connect to the AzureAD endpoint.
- -type: Get-AzureADMSDeletedGroup
It will show the ID.
- -type: Remove-AzureADMSDeletedDirectoryObject -id 6546513213652165361654