Questions tagged [azure-management-groups]
27 questions
0
votes
0 answers
Microsoft CAF reasoning being using intermediary management root group over the default root management group
Hope someone can elaborate and provide some insights on the following. Looking at Cloud Adoptation Framework for Azure there's a recommnedation to create an intermediate root management group rather than using the default root management…

user211245
- 21
- 8
0
votes
1 answer
How to recursively create nested Azure Management Groups using Terraform?
I am trying to create nested management groups recursively in Terraform and I can't seem to be able to achieve it using count or for or for_each. The best I have been able to achieve is to filter Tenant level and non-tenant level groups but that…

Display name
- 325
- 4
- 16
0
votes
2 answers
Terraform pipeline times out and stops when deploying Azure Management Group, but management group does get deployed
So I'm using a .yaml pipeline in Azure DevOps that utilises a service principal to create the management section of my dev environment. Previously, it worked fine. I changed the code so that the management groups use a UUID so that I never get any…

iheartnetworks
- 139
- 1
- 15
0
votes
0 answers
Usage of Resource Group
I am managing all my Azure infrastructure using Terraform. So I can destroy module by module...
I have created an hierarchy with several levels of Management Group. From Geographical Zones (Europe, Americas, Asia, ...) to environment (production,…

Olivier
- 1,982
- 3
- 23
- 36
0
votes
1 answer
Not able to create new Management Group in Azure - New-AzManagementGroup
I am trying to create a new management group in Azure through New-AzManagementGroup command but getting errors always. I have tried many different ways but none is working.
PS /home/divyansh> $parent = Get-AzManagementGroup -GroupId…

Divyansh Saxena
- 27
- 5
0
votes
1 answer
Azure Management Group Deny all
Sorry for this basic topic but I am pretty confused about azure Management Groups and policy.
I have a production subscription, on which I would like to deny all the manual creation of resource and allow only the creation the resource as code.
Which…

Nayden Van
- 1,133
- 1
- 23
- 70
0
votes
1 answer
Cannot move subscription from child to parent management group
I am working on the AZ104 exercise Lab2 (link here) and I am at the Clean Up Resources Step 9 where it says to move the subscription under the 'az104-02-mg1' management group to its parent, the 'Tenant Root Group'.
Here is what - if I am right? -…

punsoca
- 459
- 1
- 7
- 15
0
votes
3 answers
Dynamically get the value of management group id during arm template deployment
I would like to confirm that there is no way to dynamically get the value of management group id during arm template deployment scoped to the MG level.
I mean something similar to the ARM template function subscription() which returns an object with…

Kamil Wiecek
- 213
- 1
- 5
0
votes
1 answer
How to move subscription under management group using ARM templates?
How can I move a subscription under a management group via an ARM template? This should be possible via the following resource provider: Microsoft.Management managementGroups/subscriptions template reference
I tried to define the subscription child…

Pedro Paulo
- 103
- 1
- 9
0
votes
2 answers
How to get management groups and subscriptions from different AAD tenant?
Azure
I have two AAD(Azure Active Directory) in my account.
Entities in first AAD: ['Tenant Root Group', 'group A', 'subGroup B', 'Microsoft Partner Network', 'subscription 2']
Entities in second AAD: ['Tenant Root Group', 'subscription…

someone
- 122
- 2
- 9
0
votes
0 answers
Azure Management group with Terraform
I am trying to manage policies at management level in Azure. I found a template that crates a management group, sets policy and assigns the policy to the management group. Issue is when i created a management group with it, I couldnt destroy with…
-1
votes
1 answer
How can I run a powershell script on an entire Azure management group to span multiple subscriptions?
How can I run a powershell script on an entire Azure management group to span multiple subscriptions? I need to export resource inventories from multiple subscriptions with a single run in the same file.