capabilities.work

Create Microsoft 365 Group With Member

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

Recipe · 3 steps

Create Microsoft 365 Group With Member

with Microsoft Entra · Identity & Access Management

Create a Unified group, add a member, then get the group.

  1. Create the Microsoft 365 (Unified) group with mail enabled and Private visibility.
  2. Add the initial member to the group by posting an OData reference to its members collection. Returns 204.
  3. Read the group back to confirm its type and settings.
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 Microsoft 365 group.
  • mailNickname: Unique mail alias for the Microsoft 365 group.
  • memberId: Object id of the directory object to add as the first member.
For your developer

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