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
Connect with Microsoft Graph
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. These tools use the delegatedUser.Read.Allpermission (company name and department are not available withUser.ReadBasic.All), which most tenants only let an administrator grant. Copy the User Directory consent link from the secrets dashboard and have a tenant administrator open it once; see Organization Admin Consent.
Look up user profiles and 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\"]"