Microsoft Active Directory · Arazzo Workflow

Active Directory Self-Service Profile Review

Version 1.0.0

Read the signed-in user's profile, then list their group memberships and look up their manager.

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

Provider

active-directory

Workflows

self-service-profile-review
Show the signed-in user their own profile, memberships, and manager.
Reads the signed-in user's profile via /me, lists the directory objects they are a direct member of, and reads their manager.
3 steps inputs: select outputs: managerId, memberships, myId
1
getMyProfile
Retrieve the signed-in user's profile via the /me endpoint.
2
listMyMemberships
List the groups and directory roles the signed-in user is a direct member of, filtered to group objects.
3
getMyManager
Read the signed-in user's assigned manager.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Active Directory Self-Service Profile Review
  summary: Read the signed-in user's profile, then list their group memberships and look up their manager.
  description: >-
    A delegated self-service pattern using the signed-in user's token. The
    workflow reads the caller's own profile via the /me endpoint, then uses the
    returned object id to list the groups and directory roles the caller is a
    direct member of and to read the caller's assigned manager — giving a user
    a complete view of their own access and reporting line. Each step inlines
    its request so the flow is self-describing.
  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-users-api-openapi.yml
      confidence: 0.88
    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
- name: usersApi
  url: ../openapi/active-directory-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: self-service-profile-review
  summary: Show the signed-in user their own profile, memberships, and manager.
  description: >-
    Reads the signed-in user's profile via /me, lists the directory objects
    they are a direct member of, and reads their manager.
  inputs:
    type: object
    properties:
      select:
        type: string
        description: Optional comma-separated list of profile properties to return.
  steps:
  - stepId: getMyProfile
    description: Retrieve the signed-in user's profile via the /me endpoint.
    operationId: get-me
    parameters:
    - name: $select
      in: query
      value: $inputs.select
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      myId: $response.body#/id
      myDisplayName: $response.body#/displayName
      myUserPrincipalName: $response.body#/userPrincipalName
  - stepId: listMyMemberships
    description: >-
      List the groups and directory roles the signed-in user is a direct
      member of, filtered to group objects.
    operationId: list-user-member-of
    parameters:
    - name: userId
      in: path
      value: $steps.getMyProfile.outputs.myId
    - name: $filter
      in: query
      value: "isof('microsoft.graph.group')"
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      memberships: $response.body#/value
  - stepId: getMyManager
    description: Read the signed-in user's assigned manager.
    operationId: get-user-manager
    parameters:
    - name: userId
      in: path
      value: $steps.getMyProfile.outputs.myId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      managerId: $response.body#/id
      managerDisplayName: $response.body#/displayName
  outputs:
    myId: $steps.getMyProfile.outputs.myId
    memberships: $steps.listMyMemberships.outputs.memberships
    managerId: $steps.getMyManager.outputs.managerId

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-self-service-profile-review-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.