FlowmageDocs

Restore user

BetaChanges data

Restores a deleted person to your Microsoft 365 directory, with mailbox and groups.

Settings

SettingWhat it is
ConnectionRequiredThe Microsoft Graph connection the step signs in with.
User idRequiredThe deleted user's object id — a deleted user has no sign-in address to use.
New sign-in addressLeave empty to keep the old one. Use it when someone else took it meanwhile.
Drop conflicting mail addressesRemoves the user's mail addresses that an active user now holds.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
userIdtext
newUserPrincipalNametext
autoReconcileProxyConflicttrue/false, by default false

Output

FieldType
idUser idstring
userobject
user.displayNamestring
Sample output, and the expression for each field
  • id"1"
  • user
    • displayName"Adele Vance"
    • id"1"

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": {
    "autoReconcileProxyConflict": false,
    "connection": "<connection id>",
    "newUserPrincipalName": "",
    "userId": "<user id>"
  },
  "label": "Restore user",
  "type": "graph.restoreUser",
  "version": 1
}