directory_search_users
Find any user in the Entra ID directory by name, email, or UPN. Returns id, name, email, job title, department, and office for each match.
Instructions
Search every user account in the Entra ID tenant directory by display name, email or UPN. Returns id, name, email, job title, department and office. Use this to find anyone in the organisation; people_search only covers colleagues the signed-in user already interacts with, and ranks by relevance rather than matching the whole directory. Guest accounts cannot run this query. Requires User.Read.All.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | User name, email, or UPN to search for | |
| max_results | No | Maximum results to return (1-50) |