capabilities.work

Create Group With Member

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

Recipe · 3 steps

Create Group With Member

with Microsoft Entra · Identity & Access Management

Create a group, add one member, then verify the members list.

  1. Create a security group with mail disabled and security enabled.
  2. Add the supplied directory object to the group by posting an OData reference to its members collection.
  3. List the direct members of the group to confirm the addition.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer token with Group.ReadWrite.All and GroupMember.ReadWrite.All.
  • displayName: Display name for the new group.
  • mailNickname: Mail alias for the new group (unique within the tenant).
  • description: Optional description for the group.
  • memberId: Object id of the directory object to add as a member.
For your developer

Arazzo workflow microsoft-entra:create-group-with-member, 3 operations: createGroup → addGroupMember → listGroupMembers. Specs on APIs.io.