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

Add a script to create Azure Active Directory App Role Assignments #330

Closed
pim-simons opened this issue Nov 2, 2022 · 0 comments · Fixed by #336
Closed

Add a script to create Azure Active Directory App Role Assignments #330

pim-simons opened this issue Nov 2, 2022 · 0 comments · Fixed by #336
Assignees
Labels
area:active-directory All issues related to Azure Active Directory feature All issues related to new features
Milestone

Comments

@pim-simons
Copy link
Contributor

Is your feature request related to a problem? Please describe.
We have several customers where we use a Powershell script to assign Azure AD App Roles to another service principal. For example this is very useful when you have an Azure API Management instance and use the validate-jwt step to validate if certain roles have been assigned and allow/deny access based on that. This script allows for creating the Role on the 'main' Application Registration and assigns it on another service principal.

Describe the solution you'd like
Create script to:

  • Get a list of available roles and to which service principles they are assigned
  • Add a role assignment to a service principle and create the role if it does not yet exist
  • Remove a role assignment from a service principle
@pim-simons pim-simons added the feature All issues related to new features label Nov 2, 2022
@pim-simons pim-simons self-assigned this Nov 2, 2022
@pim-simons pim-simons added the area:active-directory All issues related to Azure Active Directory label Nov 2, 2022
@stijnmoreels stijnmoreels added this to the v0.8.0 milestone Nov 3, 2022
pim-simons added a commit that referenced this issue Nov 29, 2022
…ents (#336)

Co-authored-by: Stijn Moreels <[email protected]>
Co-authored-by: Pim Simons <[email protected]>
Closes #330
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:active-directory All issues related to Azure Active Directory feature All issues related to new features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants