capabilities.work

Decommission Application

A 3-step recipe with Microsoft Entra. We can help you get access.

Recipe · 3 steps

Decommission Application

with Microsoft Entra · Identity & Access Management

Resolve the service principal by appId, delete it, then delete the app.

  1. Filter the servicePrincipals collection on appId to resolve the service principal's object id.
  2. Delete the service principal, removing the application instance from the tenant. Returns 204.
  3. Delete the application registration, moving it to the deletedItems container. Returns 204.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer token with Application.ReadWrite.All.
  • appId: The application's appId, used to find its service principal.
  • applicationId: Object id of the application registration to delete.
For your developer

Arazzo workflow microsoft-entra:decommission-application, 3 operations: listServicePrincipals → deleteServicePrincipal → deleteApplication. Specs on APIs.io.