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 support for PIM Group management #277

Merged
merged 30 commits into from
Mar 28, 2024
Merged

Add support for PIM Group management #277

merged 30 commits into from
Mar 28, 2024

Conversation

oWretch
Copy link
Contributor

@oWretch oWretch commented Mar 6, 2024

Merge of #253, #254, #256, #276 into a single PR for review.

oWretch and others added 22 commits August 11, 2023 12:27
Had been in one client to try and automate the PIM activation which didn’t work.
Had been in one client to try and automate the PIM activation which didn’t work.
Apply for both AAD and Group PIM roles
Now that a Service Principal can do this :D
Now that a Service Principal can do this :D
Now that a Service Principal can do this :D
MSGraph calls it a subjectSet, and it can have different
ID names depending on the type of object assigned.
ID was working on create but failing on read
@oWretch
Copy link
Contributor Author

oWretch commented Mar 6, 2024

Test runs

=== RUN   TestRoleManagementPolicyClient
--- PASS: TestRoleManagementPolicyClient (284.74s)
PASS
ok      github.com/manicminer/hamilton/msgraph  285.198s

=== RUN   TestPrivilegedAccessGroupAssignmentScheduleClient
--- PASS: TestPrivilegedAccessGroupAssignmentScheduleClient (47.82s)
PASS
ok      github.com/manicminer/hamilton/msgraph  48.701s

=== RUN   TestPrivilegedAccessGroupEligibilityScheduleClient
--- PASS: TestPrivilegedAccessGroupEligibilityScheduleClient (39.61s)
PASS
ok      github.com/manicminer/hamilton/msgraph  40.474s

@manicminer manicminer self-requested a review March 21, 2024 02:53
@manicminer manicminer added this to the v0.67.0 milestone Mar 25, 2024
@manicminer manicminer added enhancement New feature or request package/msgraph labels Mar 25, 2024
Copy link
Owner

@manicminer manicminer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this heavyweight feature @oWretch! This is a great implementation and looks good to merge. The relevant tests are all passing in the M365 testing tenant.

Thanks also to @iwarapter for the collaboration and testing!

@manicminer manicminer merged commit 811c9e9 into manicminer:main Mar 28, 2024
1 of 2 checks passed
manicminer added a commit that referenced this pull request Mar 28, 2024
@oWretch oWretch deleted the f/pim-groups branch March 28, 2024 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request package/msgraph
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants