Microsoft Endpoint Configuration Management Retire Unpublished App

Version 1.0.0

Inspect a mobile app and delete it only when it is still unpublished.

1 workflow 1 source API 1 provider
View Spec View on GitHub ComplianceConfiguration ManagementDevice ManagementEndpoint ManagementMobile Device ManagementPatch ManagementSoftware DeploymentArazzoWorkflows

Provider

microsoft-endpoint-configuration-management

Workflows

retire-unpublished-app
Read a mobile app and delete it only if it remains unpublished.
Reads the mobileApp by id and branches on publishingState, deleting the app when it is notPublished and ending otherwise.
2 steps inputs: accessToken, mobileAppId outputs: deleteStatus, displayName, publishingState
1
getApp
Read the mobile app by id to obtain its publishing state.
2
deleteApp
Delete the unpublished mobile app.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Microsoft Endpoint Configuration Management Retire Unpublished App
  summary: Inspect a mobile app and delete it only when it is still unpublished.
  description: >-
    An application catalog cleanup flow over the Microsoft Graph API. The
    workflow reads a mobile app by id and branches on its publishingState: an
    app that is still notPublished is safe to delete and is removed, while a
    published app is left untouched so it stays available to assigned users.
    Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: applicationsApi
  url: ../openapi/microsoft-endpoint-configuration-management-applications-api-openapi.yml
  type: openapi
workflows:
- workflowId: retire-unpublished-app
  summary: Read a mobile app and delete it only if it remains unpublished.
  description: >-
    Reads the mobileApp by id and branches on publishingState, deleting the app
    when it is notPublished and ending otherwise.
  inputs:
    type: object
    required:
    - mobileAppId
    properties:
      accessToken:
        type: string
        description: OAuth 2.0 bearer token for Microsoft Graph (DeviceManagementApps.ReadWrite.All).
      mobileAppId:
        type: string
        description: The id of the mobile app to inspect.
  steps:
  - stepId: getApp
    description: Read the mobile app by id to obtain its publishing state.
    operationId: getMobileApp
    parameters:
    - name: mobileAppId
      in: path
      value: $inputs.mobileAppId
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      publishingState: $response.body#/publishingState
      displayName: $response.body#/displayName
    onSuccess:
    - name: notPublished
      type: goto
      stepId: deleteApp
      criteria:
      - context: $response.body
        condition: $.publishingState == "notPublished"
        type: jsonpath
    - name: published
      type: end
      criteria:
      - context: $response.body
        condition: $.publishingState != "notPublished"
        type: jsonpath
  - stepId: deleteApp
    description: Delete the unpublished mobile app.
    operationId: deleteMobileApp
    parameters:
    - name: mobileAppId
      in: path
      value: $inputs.mobileAppId
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    successCriteria:
    - condition: $statusCode == 204
    outputs:
      deleteStatus: $statusCode
  outputs:
    displayName: $steps.getApp.outputs.displayName
    publishingState: $steps.getApp.outputs.publishingState
    deleteStatus: $steps.deleteApp.outputs.deleteStatus

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-endpoint-configuration-management-retire-unpublished-app-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.