capabilities.work

Onboard User To Group

A 3-step recipe with Microsoft Entra. We can help you get access.

Recipe · 3 steps

Onboard User To Group

with Microsoft Entra · Identity & Access Management

Create a user, add it to a group, then verify its memberships.

  1. Create the user that will be onboarded into the group.
  2. Add the new user to the group by posting an OData reference that points at the user's directory object.
  3. List the groups, directory roles, and administrative units the user is a direct member of to confirm the group assignment.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer token with User.ReadWrite.All and GroupMember.ReadWrite.All.
  • groupId: Object id of the existing group to add the user to.
  • displayName: Display name for the new user.
  • mailNickname: Mail alias for the new user.
  • userPrincipalName: UPN for the new user in alias@verifieddomain format.
  • password: Initial password for the new user.
For your developer

Arazzo workflow microsoft-entra:onboard-user-to-group, 3 operations: createUser → addGroupMember → listUserMemberOf. Specs on APIs.io.