Delete user
Delete an Entra ID user; it stays restorable from Deleted users for 30 days.
Command in the Microsoft 365 toolkit · id ooa.microsoft365/entra_delete_user · 3 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | No | Microsoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| User | String | Yes | A user's object id or sign-in name (user principal name). | |
| Endpoint address | String | No | https://graph.microsoft.com/v1.0 | Graph endpoint; change only for national clouds or testing. |