Get manager
BetaReads data
Reads who a person reports to in your Microsoft 365 directory.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Microsoft Graph connection the step signs in with. |
| UserRequired | A user's object id, or their sign-in address. |
| Manager fields | Comma-separated property names of the manager. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `microsoft-graph`) |
user | text |
select | text, by default "id,displayName,mail,userPrincipalName,jobTitle" |
Output
| Field | Type |
|---|---|
hasManagerHas a manager | boolean |
manager | object |
manager.id | string |
manager.displayNameManager name | string |
Sample output, and the expression for each field
- hasManagertrue
- manager
- displayName"Alex Wilber"
- id"2"
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",
"user": "<user>"
},
"label": "Get manager",
"type": "graph.getManager",
"version": 1
}