Project

General

Profile

Actions

Task #2893

closed

Manage user's group membership

Added by Roman Kučera over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roman Kučera
Target version:
Start date:
07/20/2021
Due date:
% Done:

100%

Estimated time:
Owner:

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

Actions

Also available in: Atom PDF