In this Azure article, we will discuss the syntax and usage of the Remove-AzADGroup PowerShell command with examples.
Table of Contents
Remove-AzADGroup
This command helps you to remove the entity from the Azure AD groups.
Syntax
Below is the syntax of the Remove-AzADGroup PowerShell command.
Remove-AzADGroup -ObjectId <String>
Remove-AzADGroup -DisplayName <String>
Example-1:
You can execute the below PowerShell command to remove the entity from the Azure AD group with the display name DemoGroup.
Remove-AzADGroup -DisplayName DemoGroup
After executing the above PowerShell command, the Azure AD group with the display name DemoGroup has been deleted sucessfully.
To cross check, I reran the above PowerShell command and this time it says “Group with display name ‘DemoGroup’ does not exist” and means the Azure AD group has been deleted successfully.
Check out the same output here as below.

Example-2:
You can execute the below command which will delete the Azure AD group with the Object ID 6472abc0-dcaf-4739-b1ed-24f043d5227d.
Remove-AzADGroup -ObjectId 6472abc0-dcaf-4739-b1ed-24f043d5227d
After executing the above PowerShell command, the Azure AD group with the object ID 6472abc0-dcaf-4739-b1ed-24f043d5227d has been deleted successfully. Check out the below screenshot for your reference.

Check out the below Video tutorial on the Remove-AzADGroup PowerShell Command.
You can use the Get-AzADGroup PowerShell command to get the lists of Azure AD groups you have created already.
Final Thoughts
In this Azure PowerShell article, we discussed the syntax and usage of the Remove-AzADGroup PowerShell command with examples. Thanks for reading this article !!!