Enterprise-Scale icon indicating copy to clipboard operation
Enterprise-Scale copied to clipboard

Bug Report -Existing Management Group

Open aj-msft opened this issue 3 years ago • 1 comments

Existing Management Group with the same name under the Root Tenant gets moved while running the Accelerator

Steps to reproduce

  1. Create MG named "ELZ-Corp" under root tenant
  2. Move subscriptions under the newly created MG
  3. Run the Accelerator deployment and specify the prefix as ELZ.
  4. Leave the existing name for Corp as is and run the accelerator
  5. 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.

aj-msft avatar Oct 12 '22 00:10 aj-msft

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: image

jtracey93 avatar Oct 13 '22 21:10 jtracey93

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

aj-msft avatar Oct 17 '22 22:10 aj-msft

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

jtracey93 avatar Oct 18 '22 07:10 jtracey93

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.

ghost avatar Oct 23 '22 08:10 ghost

Hey @aj-msft,

Any thoughts on my last suggestion (https://github.com/Azure/Enterprise-Scale/issues/1080#issuecomment-1281924441)?

Let us know

Thanks

Jack

jtracey93 avatar Oct 23 '22 13:10 jtracey93

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

aj-msft avatar Oct 24 '22 20:10 aj-msft