Microsoft Exchange · Arazzo Workflow

Microsoft Exchange Audit Organization and Domains

Version 1.0.0

Read Exchange organization configuration, then list accepted domains.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub CalendarCollaborationContactsEmailEnterpriseArazzoWorkflows

Provider

microsoft-exchange

Workflows

audit-org-and-domains
Capture organization configuration and accepted domains.
Executes Get-OrganizationConfig and Get-AcceptedDomain against the Exchange Online Admin API, routing both through the supplied anchor mailbox.
2 steps inputs: anchorMailbox outputs: domains, organization
1
getOrgConfig
Run Get-OrganizationConfig to retrieve organization-level Exchange configuration.
2
getAcceptedDomains
Run Get-AcceptedDomain to enumerate the domains configured for the organization.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Microsoft Exchange Audit Organization and Domains
  summary: Read Exchange organization configuration, then list accepted domains.
  description: >-
    An administrative audit pattern on the Exchange Online Admin API. The
    workflow runs Get-OrganizationConfig to capture organization-level settings
    such as MailTips and mailbox limits, and then runs Get-AcceptedDomain to
    enumerate the domains configured for the organization. Both cmdlet requests
    are routed with the X-AnchorMailbox header. Each step inlines its request so
    the flow can be executed without consulting the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: acceptedDomainsApi
  url: ../openapi/microsoft-exchange-accepted-domains-api-openapi.yml
  type: openapi
- name: organizationConfigurationApi
  url: ../openapi/microsoft-exchange-organization-configuration-api-openapi.yml
  type: openapi
workflows:
- workflowId: audit-org-and-domains
  summary: Capture organization configuration and accepted domains.
  description: >-
    Executes Get-OrganizationConfig and Get-AcceptedDomain against the Exchange
    Online Admin API, routing both through the supplied anchor mailbox.
  inputs:
    type: object
    required:
    - anchorMailbox
    properties:
      anchorMailbox:
        type: string
        description: >-
          The UPN or primary SMTP address used as the X-AnchorMailbox routing
          hint for the target tenant.
  steps:
  - stepId: getOrgConfig
    description: >-
      Run Get-OrganizationConfig to retrieve organization-level Exchange
      configuration.
    operationId: getOrganizationConfig
    parameters:
    - name: X-AnchorMailbox
      in: header
      value: $inputs.anchorMailbox
    requestBody:
      contentType: application/json
      payload:
        CmdletInput:
          CmdletName: Get-OrganizationConfig
          Parameters: {}
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      organization: $response.body#/value/0
  - stepId: getAcceptedDomains
    description: >-
      Run Get-AcceptedDomain to enumerate the domains configured for the
      organization.
    operationId: getAcceptedDomains
    parameters:
    - name: X-AnchorMailbox
      in: header
      value: $inputs.anchorMailbox
    requestBody:
      contentType: application/json
      payload:
        CmdletInput:
          CmdletName: Get-AcceptedDomain
          Parameters: {}
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      domains: $response.body#/value
  outputs:
    organization: $steps.getOrgConfig.outputs.organization
    domains: $steps.getAcceptedDomains.outputs.domains

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-exchange-audit-org-and-domains-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.