Microsoft Entra · Arazzo Workflow

Microsoft Entra Create Group With Member

Version 1.0.0

Create a security group, add a member, and list its members.

1 workflow 1 source API 1 provider
View Spec View on GitHub Access ManagementAuthenticationAzure ADEntraIdentityIdentity GovernanceMicrosoftNetwork SecuritySecurityZero TrustArazzoWorkflows

Provider

microsoft-entra

Workflows

create-group-with-member
Create a group, add one member, then verify the members list.
Creates a security group, references a directory object into its members collection, and lists members to confirm the addition.
3 steps inputs: accessToken, description, displayName, mailNickname, memberId outputs: groupId, members
1
createGroup
Create a security group with mail disabled and security enabled.
2
addMember
Add the supplied directory object to the group by posting an OData reference to its members collection.
3
listMembers
List the direct members of the group to confirm the addition.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Microsoft Entra Create Group With Member
  summary: Create a security group, add a member, and list its members.
  description: >-
    Stands up a new security group in Microsoft Entra ID, adds an existing
    directory object (a user, service principal, or nested group) as a member
    by posting an OData reference, and then reads back the group's members
    collection to confirm the member is present. The create step sets the
    mailEnabled, securityEnabled, and mailNickname fields required by Graph.
    Every request is inlined so the chain reads end to end.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-620.20
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-620.20
      capability_name: Identity & Access Management
      spec: microsoft-entra-groups-api-openapi.yml
      confidence: 0.85
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: groupsApi
  url: ../openapi/microsoft-entra-groups-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-group-with-member
  summary: Create a group, add one member, then verify the members list.
  description: >-
    Creates a security group, references a directory object into its members
    collection, and lists members to confirm the addition.
  inputs:
    type: object
    required:
    - accessToken
    - displayName
    - mailNickname
    - memberId
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer token with Group.ReadWrite.All and GroupMember.ReadWrite.All.
      displayName:
        type: string
        description: Display name for the new group.
      mailNickname:
        type: string
        description: Mail alias for the new group (unique within the tenant).
      description:
        type: string
        description: Optional description for the group.
        default: ""
      memberId:
        type: string
        description: Object id of the directory object to add as a member.
  steps:
  - stepId: createGroup
    description: >-
      Create a security group with mail disabled and security enabled.
    operationId: createGroup
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    requestBody:
      contentType: application/json
      payload:
        displayName: $inputs.displayName
        mailNickname: $inputs.mailNickname
        description: $inputs.description
        mailEnabled: false
        securityEnabled: true
        groupTypes: []
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      groupId: $response.body#/id
  - stepId: addMember
    description: >-
      Add the supplied directory object to the group by posting an OData
      reference to its members collection.
    operationId: addGroupMember
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: group-id
      in: path
      value: $steps.createGroup.outputs.groupId
    requestBody:
      contentType: application/json
      payload:
        '@odata.id': "https://graph.microsoft.com/v1.0/directoryObjects/$inputs.memberId"
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      addStatus: $statusCode
  - stepId: listMembers
    description: List the direct members of the group to confirm the addition.
    operationId: listGroupMembers
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: group-id
      in: path
      value: $steps.createGroup.outputs.groupId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      members: $response.body#/value
  outputs:
    groupId: $steps.createGroup.outputs.groupId
    members: $steps.listMembers.outputs.members

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/microsoft-entra-create-group-with-member-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.