Skip to main content
Fix unspecified errors working with Azure root Management Group
  1. Posts/

Fix unspecified errors working with Azure root Management Group

·293 words·2 mins
Christoph Petersen
Author
Christoph Petersen

If you have not been working with Management Groups to manage Azure at scale, I recommend to review the documentation. You should also take a look at the Microsoft Cloud Adoption Framework (which was just recently updated).

When you start using Management Groups you might want to change the display name of the root management group or do other changes to the hierarchy. To get started you need to have access to the root management group. If you have global administrator permissions, follow the documentation (especially this) on how to set that up.

You now have the User Access Administrator role assigned for the root management group and its descendants.

User Access Administrator role assigned

But when you go and try to rename the root management group this happens:

Error renaming the root management group

Similar when you try to move a subscription:

Error moving a subscription

You can, on the other hand, create a new management group and affect changes on it. This is because when creating a new management group you are by default the owner and thus can change every aspect.

This is also the solution to the problem. Elevating access to manage all Azure subscriptions and management groups just assigns the User Access Administrator role and not Owner or Contributor permissions. Thus while you can access the root management group, you need to first assign yourself Owner or Contributor permissions to actually changes its properties.

Once you have made the assignment:

Owner role assignment

Changing properties such as the name of the root management group (and management groups you are not the owner of) works like a charm:

Successfully renamed root management group

Be careful: Managment Groups is a vehicle to manage at scale. If you assign roles they are inherited in the hierarchy and unless you have deny assignments the assignment will affect all subscriptions, resource groups and resources under management.

Related

Management groups vanishing from Azure portal after rename

·99 words·1 min
If you use Management groups to manage Azure at scale you may get hit with a bug in the Azure portal, that I discovered today. If you rename the Root Tenant Group the portal stops showing any previously create management groups. Their assignment are still active and you can still manage them using PowerShell or CLI but the portal will start show the out-of-the-box experience.

Local time for programmatically created Azure Dashboards

·428 words·3 mins
When you begin to operationalize your deployments and want to add monitoring one of the things you might do is to create shared dashboards as part of your deployment. A shared dashboard is basically the same as a non-shared dashboard except it is a full Azure resource, lives in a resource group and can be created through ARM.

Azure Notification Hub race condition

·375 words·2 mins
Both development and production environments are deployed in a fully automated fashion using ARM templates. As part of these deployments we also create Notification Hubs and related authorization rules.