Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make delete-management-groups.bat script more robust #223

Closed
skeeler opened this issue Mar 29, 2022 · 0 comments · Fixed by #224
Closed

Make delete-management-groups.bat script more robust #223

skeeler opened this issue Mar 29, 2022 · 0 comments · Fixed by #224
Assignees
Labels
documentation Improvements or additions to documentation scripts Bash, Windows, PowerShell scripts
Milestone

Comments

@skeeler
Copy link
Contributor

skeeler commented Mar 29, 2022

Is your feature request related to a problem? Please describe.
The original delete-management-groups.bat script worked well with the original management group hierarchy that imposed a hierarchical structure on the management group IDs. Once we added the new management group hierarchy JSON variable in the environment YAML configuration files, it became possible to configure management group IDs that did not need to follow the previous convention since the parent-child relationships are explicitly stated in the JSON structure. As a result, newer deployments not following the original management group ID naming convention will not work with the original script.

Describe the solution you'd like
Rewrite the delete-management-groups.bat script to support the newer flexible IDs for management groups, and while we're at it, fix issues with any custom role definitions at management group scope and custom role assignments at subscription scope that would result in errors or orphaned object references when related management groups are removed.

@skeeler skeeler added documentation Improvements or additions to documentation scripts Bash, Windows, PowerShell scripts labels Mar 29, 2022
@skeeler skeeler added this to the v0.9.0 milestone Mar 29, 2022
@skeeler skeeler self-assigned this Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation scripts Bash, Windows, PowerShell scripts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant