capabilities.work

Deprovision User

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

Recipe · 2 steps

Deprovision User

with Microsoft Entra · Identity & Access Management

Disable a user account then delete it (soft-delete to deletedItems).

  1. Disable the account by setting accountEnabled to false. Returns 204 with no body.
  2. Delete the user object, moving it to the deletedItems container for possible restore within 30 days.
What you'll need to have ready
  • accessToken: OAuth 2.0 bearer token with User.ReadWrite.All.
  • userId: Object id or userPrincipalName of the user to deprovision.
For your developer

Arazzo workflow microsoft-entra:deprovision-user, 2 operations: updateUser → deleteUser. Specs on APIs.io.