Microsoft Active Directory · Arazzo Workflow

Active Directory Rename Group And List Members

Version 1.0.0

Resolve a group by name, update its display name and description, then list its members and owners.

1 workflow 1 source API 1 provider
View Spec View on GitHub Active DirectoryAuthenticationAuthorizationDirectory ServicesIdentity ManagementMicrosoft EntraZero TrustArazzoWorkflows

Provider

active-directory

Workflows

rename-group-and-list-members
Update a group's name and description, then enumerate its members and owners.
Searches the groups collection by display name, patches the matched group's displayName and description, lists the group's members, and lists the group's owners.
4 steps inputs: currentDisplayName, newDescription, newDisplayName outputs: groupId, members, owners
1
findGroup
Resolve the group by its current display name, returning at most one match.
2
updateGroup
Patch the matched group's display name and description.
3
listMembers
List the direct members of the updated group.
4
listOwners
List the owners of the updated group.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Active Directory Rename Group And List Members
  summary: Resolve a group by name, update its display name and description, then list its members and owners.
  description: >-
    A group governance pattern. The workflow resolves a group by its current
    display name, patches its display name and description, and then lists both
    the members and the owners of the group so the change can be verified
    against who is affected. Each step inlines its request so the flow runs
    without opening the underlying OpenAPI description.
  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: active-directory-groups-api-openapi.yml
      confidence: 0.9
    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/active-directory-groups-api-openapi.yml
  type: openapi
workflows:
- workflowId: rename-group-and-list-members
  summary: Update a group's name and description, then enumerate its members and owners.
  description: >-
    Searches the groups collection by display name, patches the matched group's
    displayName and description, lists the group's members, and lists the
    group's owners.
  inputs:
    type: object
    required:
    - currentDisplayName
    - newDisplayName
    - newDescription
    properties:
      currentDisplayName:
        type: string
        description: The current display name used to resolve the group.
      newDisplayName:
        type: string
        description: The new display name to set on the group.
      newDescription:
        type: string
        description: The new description to set on the group.
  steps:
  - stepId: findGroup
    description: Resolve the group by its current display name, returning at most one match.
    operationId: list-groups
    parameters:
    - name: $filter
      in: query
      value: "displayName eq '$inputs.currentDisplayName'"
    - name: $top
      in: query
      value: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      groupId: $response.body#/value/0/id
    onSuccess:
    - name: groupFound
      type: goto
      stepId: updateGroup
      criteria:
      - context: $response.body
        condition: $.value.length > 0
        type: jsonpath
    - name: groupMissing
      type: end
      criteria:
      - context: $response.body
        condition: $.value.length == 0
        type: jsonpath
  - stepId: updateGroup
    description: Patch the matched group's display name and description.
    operationId: update-group
    parameters:
    - name: groupId
      in: path
      value: $steps.findGroup.outputs.groupId
    requestBody:
      contentType: application/json
      payload:
        displayName: $inputs.newDisplayName
        description: $inputs.newDescription
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      updatedGroupId: $steps.findGroup.outputs.groupId
  - stepId: listMembers
    description: List the direct members of the updated group.
    operationId: list-group-members
    parameters:
    - name: groupId
      in: path
      value: $steps.findGroup.outputs.groupId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      members: $response.body#/value
  - stepId: listOwners
    description: List the owners of the updated group.
    operationId: list-group-owners
    parameters:
    - name: groupId
      in: path
      value: $steps.findGroup.outputs.groupId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      owners: $response.body#/value
  outputs:
    groupId: $steps.findGroup.outputs.groupId
    members: $steps.listMembers.outputs.members
    owners: $steps.listOwners.outputs.owners

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/active-directory-rename-group-and-list-members-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.