-
Notifications
You must be signed in to change notification settings - Fork 62
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
Provide a function to create a group directly into an administrative unit #206
Conversation
With c.CreateGroup it is now possible to create a group directly into an AdministrativeUnit. This enables service principals to manage groups inside an AdministrativeUnit without the need for global directory permissions.
This reverts commit 5c3c2f8.
Add group directly in au
Hey @manicminer, we couldn't reproduce the test failure, do you think the tests fail because of this addition? |
I think it was just some missing roles/permissions on our end, I believe I have fixed it now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SwissGipfel Thanks for this contribution! This LGTM 👍
We'd like to provide an additional function on the AdministrativeUnitsClient which allows us to create group objects directly into an administrative unit, as documented on MS Docs.
This would enable managing group in an administrative unit without write permission on a whole tenant. As it states here, the permissions could be scoped only to the respective AU.
It would also enable to solve this issue on the terraform provider for azuread, as the provider uses this package as dependency.