Permanently delete an Office 365 Group

How to delete an Office 365 group using PowerShell.

You can permanently delete an Office 365 Group from your Azure Portal but if you prefer to use PowerShell, here is an example.

Install-Module -Name AzureAD
$tenantUrl = "https://{your site}-admin.sharepoint.com/" 
$groupToDelete = "{Your Group Name}" 
Connect-SPOService -Url $tenantUrl Write-Output "Connected to $tenantUrl" 
Get-AzureADMSDeletedGroup $groupToDelete | Write-Output "Group $groupToDelete was found" –Id $groupToDelete