Open In App

How to Create Management Groups in Azure Through GUI and PowerShell?

Last Updated : 30 Mar, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

Pre-requisites: AZURE 

Azure’s management groups are a hierarchical organizational structure that makes it possible to centralize the management of numerous Azure subscriptions. With management groups, you can apply policies and enforce compliance across your subscriptions and resources, making it easier to manage your resources and ensure that they are compliant with organizational standards.

Features of Management Groups

  • Apply policies at the management group level, and all subscriptions in that management group will automatically get those changes.
  • Centralize access and role-based access control (RBAC) across your subscriptions and resources.
  • Within the management group, keep track of resource utilization, costs, and compliance for all subscriptions.
  • You can organize your Azure environment, make it simpler to manage your resources and make sure they comply with your organization’s requirements by creating management groups.

How To Create a Management Group through Azure Portal

Step 1: Sign in to your Azure console.

Azure console

 

Step 2: In the Search bar type, “Management Group”.

Step 3: Click on Management Groups.

Step 4: In the Management Groups, click on create.

Management groups

 

Step 5: Write a suitable ID for your management group. Please keep in mind that you should not give space between letters in the ID. (e.g. DevopsIT)

Step 6: Give a suitable Display Name to the Management Group. (e.g. DevOps IT)

Step 7: Click on Submit.

Creating Management group

 

Step 7: After a while refreshes your page and  The Management Group is created.

List management groups

 

Step 8: Click on the newly created management group to go inside and verify it.

Created management group

 

How To Create a Management Group Using Powershell

Step 1: In order to create a Management Group, using Powershell, we will use Cloud Shell. Tap on the cloud shell icon at the top right of the portal.

PowerShell

 

Step 2: Change to PowerShell.

Changing to PowerShell

 

Step 3: Once the connection is established write the following command. 

New-AzManagementGroup -Groupid 
"GroupID" -displayname "DisplayName" 
Creating Management group With command

 

Step 4: As you can see the creation of the Management Group is successful. 

Step 5: To get the list of Management Groups use the following command

List the management groups using command

 

Advantages of Management Groups

The following are the main advantages of using management groups in Azure:

  1. Centralized administration: Management groups offer a hierarchical structure for centralized management of various Azure subscriptions, simplifying resource management and ensuring organizational requirements are met.
  2. Policy enforcement:  You can use management groups to apply policies and enforce compliance across your subscriptions and resources, making it easier to ensure that your resources are consistent and meet your organization’s standards.
  3. Access and role-based access control (RBAC): It is simpler to manage and safeguard your environment when you can centralize access and RBAC across your subscriptions and resources using management groups.
  4. Cost and usage monitoring:  Management groups provide a centralized view of resource usage, costs, and compliance across all subscriptions within the management group, allowing you to monitor your environment and identify areas for optimization.
  5. Improved resource organization: It is simpler to understand your environment and manage your resources when you can group your resources into management groups and arrange them in a hierarchical structure.
  6. Cross-subscription sharing: It is simpler to share resources and interact with different teams within your organization when you use management groups, which let you exchange data and resources across subscriptions.


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads