Hi @Shubham Joshi ,
where are you trying to start the
New-AzManagementGroup (on your computer, in the Cloud Shell in the Azure Portal, in Azure Automation)?
Make sure the
AZ module is installed and imported.
New-AzManagementGroup is part of the AZ module or in Azure Automation in the Az.Resources module.
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)