How to delete Microsoft 365 Group on O365

Photo by on

Go to the Azure AD Portal, go to Azure Active Directory and navigate into Groups.

Click on the Group you want to remove and click “Delete”.


Note: This will soft delete the group so you will be able to restore it in the future (in case you regret it). But if you want to add it again (purging all the information, in an educational environment for a new scholar year for example) you’d need to purge them from the recycle bin.

To do this you can go and run the following only once per computer:

Open Powershell as administrator and run:

Set-ExecutionPolicy Unrestricted

And accept the change, next, install the Powershell Module AzureAD.

Install-Module AzureAD

Now, these commands you need to run them every time:

Connect to Azure AD


And finally, Remove the DeletedGroups:

Get-AzureADMSDeletedGroup | Remove-AzureADMSDeletedDirectoryObject

Powershell Windows verifying the run and deletion of the groups.
Deleted groups on the tenant, those were purged

Follow me| Help me grow | MCP | MCSE| MS Technical Lead Exchange Online/Powershell | Experts-Exchange Awarded 2018 | TechNet 66k Downloads.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store