capabilities.work

Find or Create Group

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

Recipe · 3 steps

Find or Create Group

Resolve a group by display name, creating it when absent.

  1. Search existing groups for one whose displayName equals the supplied value, returning at most one match.
  2. Read the matched group by id to return its full properties.
  3. Create a new Microsoft 365 group when no existing group matched the supplied display name.
What you'll need to have ready
  • displayName: The display name to search for and, if missing, create.
  • mailNickname: The mail alias to use when creating the group.
  • description: An optional description used when creating the group.
For your developer

Arazzo workflow microsoft-office-365:find-or-create-group, 3 operations: listGroups → getGroup → createGroup. Specs on APIs.io.