Task #2893
closedManage user's group membership
100%
Description
Implement support for managing user's group membership.
Add user to AD group https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0&tabs=http
Remove user from AD group https://docs.microsoft.com/en-us/graph/api/group-delete-members?view=graph-rest-1.0&tabs=http
Add user to Azure role https://docs.microsoft.com/en-us/graph/api/directoryrole-post-members?view=graph-rest-1.0&tabs=http
Remove user from Azure role https://docs.microsoft.com/en-us/graph/api/directoryrole-delete-member?view=graph-rest-1.0&tabs=http
Load all assigned groups should be able via graphClient.users("id").memberOf().buildRequest().get() need to be tested if this is returnig AD groups and Azure roles a do some filtering later in that case according to setting