Update a contact
contacts_updateUpdate personal contact fields in Microsoft 365. Specify id and fields to change; emailAddresses replaces all addresses, so include existing ones to keep.
Instructions
Updates the given fields of one personal contact and returns the stored result. Omitted fields are left alone, but emailAddresses is a collection: supplying it REPLACES every address on the contact, so read the contact first and resend the ones to keep. There is no optimistic-concurrency check here — a concurrent edit from Outlook is silently overwritten. At least one field besides id is required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The contact id, as returned by contacts_list or contacts_search. This is the long opaque Outlook item id, not an email address or display name. | |
| surname | No | The contact's last name. | |
| jobTitle | No | Job title at that organisation. | |
| givenName | No | The contact's first name. | |
| companyName | No | Employer or organisation. | |
| displayName | No | The name Outlook files the contact under. Outlook derives it from the given and surname when it has never been set explicitly; setting it here stops that. | |
| mobilePhone | No | Mobile phone number, as free text. | |
| emailAddresses | No | Replacement list of up to 3 email addresses. This REPLACES every existing address rather than adding to them, so include the ones to keep. Read the contact first if unsure. |