Overview
Microsoft Users tools let you resolve Microsoft 365 user emails and UPNs to full directory profiles, and look up each user’s direct manager, through Microsoft Graph.Key Features
MICROSOFT_GET_USERS- Resolve a list of email addresses or UPNs to Microsoft 365 user profiles. Returns display name, mail, job title, department, company name, and office location. Unresolved identifiers are returned in
notFound.
- Resolve a list of email addresses or UPNs to Microsoft 365 user profiles. Returns display name, mail, job title, department, company name, and office location. Unresolved identifiers are returned in
MICROSOFT_GET_MANAGER- Look up the direct manager of each input user. Returns a list of
{ user, manager }pairs wheremanagerisnullif no manager is set. Unresolved identifiers are returned innotFound.
- Look up the direct manager of each input user. Returns a list of
Authentication
These tools require a Microsoft Graph OAuth token with delegatedUser.Read.All permission.
Go to the Jinba secrets dashboard and connect a Microsoft account for User Directory. Use the generated token in the tool config.
Tenant admin consent is required.User.ReadBasic.Allis NOT sufficient — company name and department are only accessible withUser.Read.All. The Azure AD app registration must have delegatedUser.Read.Alladded and admin-consented before these tools work.
Example: Resolve Users and Look Up Their Managers
Input
identifiers
A list of email addresses or User Principal Names (UPNs) to look up. Accepts:
- An array:
["alice@example.com", "bob@example.com"] - A comma-separated string:
"alice@example.com, bob@example.com" - A JSON array string:
"[\"alice@example.com\", \"bob@example.com\"]"