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

Feature Request: Add user-assigned-identity to AAD group #857

Open
TheRSP opened this issue Dec 22, 2021 · 0 comments
Open

Feature Request: Add user-assigned-identity to AAD group #857

TheRSP opened this issue Dec 22, 2021 · 0 comments

Comments

@TheRSP
Copy link
Contributor

TheRSP commented Dec 22, 2021

When creating a user-assigned identity, it would be great if there was a way to automatically add the given user to a named AAD group. This would allow permissions to be assigned at deployment time.

I don't believe its possible to add members to groups through ARM so this, I believe would need to be a post-deploy action. Something like the following:

let myId = userAssignedIdentity {
  name "my-identity"
  add_to_ad_group "my-production-apps"
  add_to_ad_groups ["my-all-apps"; "my-commerce-apps"]
}
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