Offboarding is the deliberate, controlled retirement of an application identity,an app registration, an enterprise application, or a service principal, together with all of its access, credentials, and integrations.
It is the bookend to onboarding and, like onboarding, belongs to the application’s owner. Deleting the app object in the portal is the last and smallest step; the real work is everything that has to be unwound first.
From the owner’s seat, offboarding is an accountability question. You sponsored the application, you owned its access while it ran, and you own its safe removal when it is no longer needed. An app that is abandoned rather than offboarded does not disappear; it becomes someone else’s incident.
Skipping offboarding doesn’t save work; it defers it and compounds the risk. The business implications of leaving applications to rot:
The recurring pattern is familiar: an app no one remembers owning, holding permissions no one can justify, and surfacing only when it is abused or flagged in an audit. Disciplined offboarding is how you keep that app from ever existing.
Offboarding needs governance just as much as onboarding. You cannot simply pull an application out of production. Removing access can break a live business process as surely as granting it can expose one. The owner drives the decision, but several stakeholders should sign off before anything is touched.
|
Stakeholder |
Role in Offboarding |
|
Initiate the request and confirm the application is no longer needed; own the decision and its consequences. |
|
|
Service Manager |
Confirm business impact and service dependencies; validate that no active service still relies on the app. |
|
IT Operations / Identity Team |
Execute the change under change control, schedule the window, and hold the rollback. Perform actions, but do not decide. |
|
Availability / Change Review |
Assess criticality and blast radius; approve the maintenance window for anything sitting in a critical path. |
The availability question is the one most often skipped. Before anything is disabled, confirm whether the application sits in a critical path: a production integration, an authentication dependency, or a scheduled job that other systems rely on. Anything critical gets a maintenance window, a communicated change, and a tested rollback before execution, not after.
The safest pattern is a graceful, staged decommission rather than an immediate delete:
Microsoft Entra ID keeps deleted app registrations recoverable for 30 days, providing a genuine safety net. However, this should be treated as a backstop rather than the plan. Capture the configuration before deletion so you can redeploy deliberately if needed, rather than racing a recovery window.
💡 Quick Answer: To offboard a vendor application and service principal in Microsoft Entra ID, (1) revoke credentials, (2) disable sign-in on service principal and block the application, (3) observe a waiting period, then (4) delete the app registration. Always capture configuration first and resolve SCIM, Conditional Access, and federation dependencies before deletion.
Executing offboarding cleanly is mostly discipline and dependency cleanup. Four requirements anchor the work:
The application objects themselves are the easy part. The upstream and downstream entanglements are what get missed, and what cause the incidents. Resolve each of these before the identity is removed:
|
Dependency |
What Must Be Resolved |
|
Credentials |
Revoke and remove client secrets and certificates; purge them from Key Vault and any pipeline secret stores. |
|
Permissions & Consent |
Remove app role assignments, OAuth2 permission grants, and admin consent; remove any Exchange RBAC assignments or legacy Application Access Policies. |
|
SCIM Provisioning |
Disable the provisioning job and deprovision the accounts and groups the app created downstream, so you don’t strand orphaned identities in target systems. |
|
Remove the app from CA policy assignments and exclusions; retire any named locations or authentication contexts created for it. |
|
|
Federation / SSO |
Remove the SAML/OIDC trust, reply URLs, and claims mappings; notify the relying party that the integration is ending. |
|
Upstream Authorization |
Resolve IdP rules, API gateway or application-proxy entries, allow-lists, firewall rules, and DNS records that reference the app. |
|
Downstream Consumers |
Identify automation, webhooks, and APIs that call (or are called by) the app, and notify their owners before removal. |
|
Licensing & Monitoring |
Reclaim licenses; remove or repurpose SIEM alerts tied to the app while retaining its audit logs per your retention policy. |
Everything above only happens consistently if it is written down and followed. The way to manage offboarding at scale is to make it a defined stage of your application lifecycle policy. Ideally, it is part of the same policy that governs onboarding, since the two are at opposite ends of one lifecycle. A policy turns a heroic, owner-by-owner effort into a repeatable, auditable process that doesn’t depend on anyone remembering to do it.
At a minimum, the policy should specify:
Fold these into the existing onboarding policy rather than writing a separate document. Onboarding admits an application and assigns its owner; offboarding is that same policy honoring the commitment that every identity it admits will eventually be retired cleanly. Managed together, the lifecycle has no loose ends.
Follow these best practices to ensure every application and service principal retirement is clean, auditable, and reversible:
Offboarding decisions are only as strong as the visibility you have into your application estate. In most environments, the challenge isn’t the removal step itself; it’s identifying which service principals and vendor applications are stale, over-permissioned, or no longer aligned to business ownership in the first place.
This is where ongoing application governance becomes critical. ENow’s App Governance Accelerator and AppGov Score help organizations continuously assess application risk across Microsoft Entra ID by surfacing:
By translating this visibility into a measurable score, AppGov Score gives IT and security teams a clear, prioritized view of which applications should be reviewed, remediated, or formally offboarded through the lifecycle process outlined above.
Instead of discovering orphaned applications during an audit or incident, organizations can proactively identify offboarding candidates and route them through governed change control before they become risk events.
An app registration is the global definition of an application stored in the home tenant. A service principal is the local instance of that application in a specific tenant; the object that holds permissions, credentials, and sign-in behavior. Offboarding requires removing both the service principal in all tenants where it was instantiated and the app registration in the home tenant.
Microsoft Entra ID retains soft-deleted app registrations for 30 days. After that window, the deletion is permanent. Always capture the configuration before deletion. The 30-day window is a backstop, not a plan.
If the provisioning job is not cleanly disabled before the service principal is removed, downstream accounts and groups created by the app remain in target systems as orphaned identities. Best practice is to disable the SCIM provisioning job, review and deprovision those downstream objects, and then proceed with service principal removal.
It can vary depending on the organization’s size and policy, but it’s often the application’s business sponsor that is responsible for initiating and owning the offboarding decision. In a larger organization, you may have more dedicated roles in the process. For example, the IT Operations or the identity team executes the change under change control. The service manager confirms business dependencies, and the availability or change review board approves the maintenance window. IT Operations performs the actions; the application owner decides.
An orphaned service principal is an application identity in Microsoft Entra ID that has no active owner, is no longer used for a business purpose, or has expired credentials, yet remains in the tenant with permissions intact. Orphaned service principals are a significant security risk because they hold access that no one is monitoring or rotating. Tools like ENow’s App Governance Accelerator surface these as offboarding candidates.