capabilities.work

Offboard User From Group

A 4-step recipe with Microsoft Active Directory. We can help you get access.

Recipe · 4 steps

Offboard User From Group

with Microsoft Active Directory · Identity & Access Management

Remove a user from a group and disable the user account.

  1. Resolve the user by userPrincipalName, returning at most one match.
  2. Resolve the group by displayName, returning at most one match.
  3. Remove the user's direct membership from the resolved group.
  4. Disable the user account so the user can no longer sign in.
What you'll need to have ready
  • userPrincipalName: UPN of the user to offboard.
  • groupDisplayName: Display name of the group to remove the user from.
For your developer

Arazzo workflow active-directory:offboard-user-from-group, 4 operations: list-users → list-groups → remove-group-member → update-user. Specs on APIs.io.