Update Microsoft 365 User
update_userUpdate existing Microsoft 365 user attributes, enabling or disabling accounts for hire or leave scenarios. Only specified fields are modified.
Instructions
Update attributes on an existing user (PATCH). Use accountEnabled to enable/disable an existing account (e.g. activate a pre-created hire or disable a leaver). Only provided fields are changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| user | Yes | ||
| state | No | ||
| country | No | ||
| surname | No | ||
| jobTitle | No | ||
| givenName | No | ||
| department | No | ||
| otherMails | No | ||
| postalCode | No | ||
| companyName | No | ||
| displayName | No | ||
| mobilePhone | No | ||
| employeeType | No | ||
| streetAddress | No | ||
| usageLocation | No | ||
| accountEnabled | No | ||
| businessPhones | No | ||
| officeLocation | No |