FlowmageDocs

Delete user

BetaChanges data

Deletes a person's account from your Microsoft 365 directory.

Settings

SettingWhat it is
ConnectionRequiredThe Microsoft Graph connection the step signs in with.
UserRequiredA user's object id, or their sign-in address.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
usertext

Output

FieldType
deletedDeleted by this runboolean
alreadyGoneIt was already goneboolean
userstring
Sample output, and the expression for each field
  • alreadyGonefalse
  • deletedtrue
  • user"adele@contoso.com"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "user": "<user>"
  },
  "label": "Delete user",
  "type": "graph.deleteUser",
  "version": 1
}