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

Apply role assignment to Service Principal only once per sub #75

Closed
Phydeauxman opened this issue Mar 11, 2021 · 0 comments · Fixed by #76
Closed

Apply role assignment to Service Principal only once per sub #75

Phydeauxman opened this issue Mar 11, 2021 · 0 comments · Fixed by #76
Assignees

Comments

@Phydeauxman
Copy link
Contributor

Benefit/Result/Outcome
Remove duplicate attempts to assign the same role to the same scope

Description
Current Service Principal code attempts to assign the Contributor role to each tier sub. When deploying to a number of unique subs that is less than the number of tiers (like deploying all tiers to a single sub)...the second and subsequent assignment attempt results in a return message saying that the Service Principal has already been assigned that role to that sub.

Acceptance Criteria

  • Assignment is attempted only once per unique sub ID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant