Project

General

Profile

Actions

Task #2893

closed

Manage user's group membership

Added by Roman Kučera almost 3 years ago. Updated almost 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 #1

Updated by Roman Kučera almost 3 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Main logic is implemented.
Assign/remove ad group and Azure roles is working.

Now some code clean up will be performed with final testing.

Actions #2

Updated by Roman Kučera almost 3 years ago

  • % Done changed from 50 to 70
Actions #3

Updated by Roman Kučera almost 3 years ago

  • % Done changed from 70 to 100
Actions #4

Updated by Roman Kučera almost 3 years ago

feedba in #2888#note-1

Actions #5

Updated by Roman Kučera almost 3 years ago

  • Status changed from In Progress to Closed

released

Actions

Also available in: Atom PDF