Enterprise-Scale
Enterprise-Scale copied to clipboard
Bug Report -Existing Management Group
Existing Management Group with the same name under the Root Tenant gets moved while running the Accelerator
Steps to reproduce
- Create MG named "ELZ-Corp" under root tenant
- Move subscriptions under the newly created MG
- Run the Accelerator deployment and specify the prefix as ELZ.
- Leave the existing name for Corp as is and run the accelerator
- The Landing zone deployment would have moved the initially created "ELZ-Corp" Management Group along with the subscription to the newly created Landing zone that was built using the accelerator.
This is an issue as customers who have existing Management Group with the same name as what is specified within the Accelerator could face issues when the MG and subscriptions are moved under the new Landing zone and policies are applied. It would be good to see a warning if there are any MG groups with the same name already present in the customer environment.
Hey @aj-msft,
Good find.
What would you want the error message to say and where would you like it to appear?
We can then get this implemented.
We can make this a dynamic warning though it would just be a generic warning displayed all the time. As in the portal experience we cannot do any pre-validation I'm afraid. The error would look similar to this on the MG blade:

Hey @jtracey93
Thanks for getting back to me.
A warning along the lines stating that any existing management groups with the same name as what is specified in the Accelerator deployment would be moved to the new Landing zone would suffice if it were displayed in the validation screen.
Thanks Ajay
Hey @aj-msft we cannot make this appear on the validation screen, as this is a screen that is provided by the underlying service used for custom portal experiences.
However, we can make it appear on the "Azure core" tab/page, would that be sufficient?
Let us know
Thanks
Jack
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days.
Hey @aj-msft,
Any thoughts on my last suggestion (https://github.com/Azure/Enterprise-Scale/issues/1080#issuecomment-1281924441)?
Let us know
Thanks
Jack
Hi @jtracey93,
Would it be possible to add it to the tabs where Management Groups are created (Platform, Azure Core, Landing Zone etc) ? If so, that would be great.
Regards Ajay