FlowmageDocs

Get user

BetaReads data

Reads one person 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.
FieldsComma-separated property names.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
usertext
selecttext, by default "id,displayName,mail,userPrincipalName,jobTitle,department"

Output

FieldType
userobject
user.idstring
user.displayNamestring
Sample output, and the expression for each field
  • user
    • displayName"Jane Doe"
    • 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": {
    "connection": "<connection id>",
    "select": "id,displayName,mail,userPrincipalName,jobTitle,department",
    "user": "<user>"
  },
  "label": "Get user",
  "type": "graph.getUser",
  "version": 1
}