Assign User Manager
Assign a new manager or update an exiting manager to a user in Office 365 Admin.
If a user already has a manager, the user is reassigned to a manager defined in this card.
Input
Field | Definition | Type | Required |
---|---|---|---|
User | |||
ID or Username |
User ID is the unique identifier for the user. Should be treated as an opaque identifier.
Username of the Office 365 user. This is the user's User Principal Name (UPN). A UPN is formed by taking the username and domain and combining them with the For example, This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~ |
String | TRUE |
Manager | |||
ID or Username |
User ID is the unique identifier for the user. Should be treated as an opaque identifier.
Username of the Office 365 user. This is the user's User Principal Name (UPN) of a direct manager. A UPN is formed by taking the username and domain and combining them with the For example, This property cannot contain accent characters. Only the following characters are allowed A - Z, a - z, 0 - 9, ' . - _ ! # ^ ~ |
String | TRUE |

If the string for the UPN input begins with $
, remove the slash /
after /users
and enclose the UPN value in parentheses and single quotes. For example, /users('$AdeleVance@contoso.com')
. See Known issues with Microsoft Graph.
To search for a B2B user using a UPN input value, encode the hash #
character as %23
. For example, /users/AdeleVance_adatum.com%23EXT%23@contoso.com
.
Output
Field | Definition | Type |
---|---|---|
Response | ||
Status Code | Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:
For a full list of possible status codes, see HTTP status codes. |
Number |
Related topics
Office 365 Admin connector