get_user
Search Microsoft Teams users by display name or email prefix to retrieve IDs, email addresses, and job titles for mentions, presence checks, or chat creation.
Instructions
Find users whose display name or email address starts with query.
Prefix match only (Graph startsWith on displayName or mail): a surname or a
fragment from the middle of a name finds nothing. Returns up to limit users with
id, display name, email (mail, else userPrincipalName) and job title. The id is
what get_user_presence and mention user_id take; create_chat takes the email.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |