Microsoft Active Directory · Arazzo Workflow

Active Directory Decommission Application

Version 1.0.0

Resolve an application by name, read its details, and soft-delete the registration.

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

Provider

active-directory

Workflows

decommission-application
Find an application by name, capture its details, then delete it.
Searches the applications collection by display name, retrieves the matched application object, and deletes the application registration if a match was found.
3 steps inputs: displayName outputs: appId, applicationId
1
findApplication
Resolve the application by display name, returning at most one match.
2
getApplication
Retrieve the full application object to capture appId and credential metadata before deletion.
3
deleteApplication
Soft-delete the application registration; it remains restorable for 30 days.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Active Directory Decommission Application
  summary: Resolve an application by name, read its details, and soft-delete the registration.
  description: >-
    An application lifecycle teardown pattern. The workflow resolves an
    application registration by display name, reads the full application object
    to capture its appId and credential metadata for the audit trail, then
    soft-deletes the registration so it can still be restored within 30 days.
    Each step inlines its request so the flow runs without the OpenAPI source.
  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-applications-api-openapi.yml
      confidence: 0.75
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: applicationsApi
  url: ../openapi/active-directory-applications-api-openapi.yml
  type: openapi
workflows:
- workflowId: decommission-application
  summary: Find an application by name, capture its details, then delete it.
  description: >-
    Searches the applications collection by display name, retrieves the matched
    application object, and deletes the application registration if a match was
    found.
  inputs:
    type: object
    required:
    - displayName
    properties:
      displayName:
        type: string
        description: Display name of the application registration to decommission.
  steps:
  - stepId: findApplication
    description: Resolve the application by display name, returning at most one match.
    operationId: list-applications
    parameters:
    - name: $filter
      in: query
      value: "displayName eq '$inputs.displayName'"
    - name: $top
      in: query
      value: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      applicationId: $response.body#/value/0/id
    onSuccess:
    - name: applicationFound
      type: goto
      stepId: getApplication
      criteria:
      - context: $response.body
        condition: $.value.length > 0
        type: jsonpath
    - name: applicationMissing
      type: end
      criteria:
      - context: $response.body
        condition: $.value.length == 0
        type: jsonpath
  - stepId: getApplication
    description: >-
      Retrieve the full application object to capture appId and credential
      metadata before deletion.
    operationId: get-application
    parameters:
    - name: applicationId
      in: path
      value: $steps.findApplication.outputs.applicationId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      appId: $response.body#/appId
      capturedDisplayName: $response.body#/displayName
  - stepId: deleteApplication
    description: >-
      Soft-delete the application registration; it remains restorable for 30
      days.
    operationId: delete-application
    parameters:
    - name: applicationId
      in: path
      value: $steps.findApplication.outputs.applicationId
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      deletedApplicationId: $steps.findApplication.outputs.applicationId
  outputs:
    applicationId: $steps.findApplication.outputs.applicationId
    appId: $steps.getApplication.outputs.appId

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-decommission-application-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.