Skip to main content
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.
  • 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.
  • MICROSOFT_GET_MANAGER
    • Look up the direct manager of each input user. Returns a list of { user, manager } pairs where manager is null if no manager is set. Unresolved identifiers are returned in notFound.

Connect with Microsoft Graph

These tools require a Microsoft Graph OAuth token with delegated User.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 delegated User.Read.All permission (company name and department are not available with User.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\"]"

Output

MICROSOFT_GET_USERS

MICROSOFT_GET_MANAGER