Transfer User Between Groups
A 5-step recipe with Microsoft Active Directory. We can help you get access.
Recipe · 5 steps
Transfer User Between Groups
with Microsoft Active Directory · Identity & Access Management
Move a user from a source group to a destination group.
- Resolve the user by userPrincipalName, returning at most one match.
- Resolve the source group by display name.
- Resolve the destination group by display name.
- Remove the user's direct membership from the source group.
- Add the user to the destination group via an OData reference.
What you'll need to have ready
- userPrincipalName: UPN of the user to transfer.
- sourceGroupDisplayName: Display name of the group to remove the user from.
- destinationGroupDisplayName: Display name of the group to add the user to.
For your developer
Arazzo workflow active-directory:transfer-user-between-groups, 5 operations: list-users → list-groups → list-groups → remove-group-member → add-group-member. Specs on APIs.io.