capabilities.work

Audit User Group Memberships

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

Recipe · 4 steps

Audit User Group Memberships

with Microsoft Active Directory · Identity & Access Management

Compile a user's profile, direct memberships, and manager for an access review.

  1. Resolve the user by userPrincipalName, returning at most one match.
  2. Retrieve the full user object for the resolved id.
  3. List the groups and directory roles the user is a direct member of, filtered to group objects.
  4. Read the user's assigned manager.
What you'll need to have ready
  • userPrincipalName: UPN of the user to audit (e.g. AdeleV@contoso.com).
For your developer

Arazzo workflow active-directory:audit-user-group-memberships, 4 operations: list-users → get-user → list-user-member-of → get-user-manager. Specs on APIs.io.