Skip to main content

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.
  • 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.

Authentication

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. User.ReadBasic.All is NOT sufficient — company name and department are only accessible with User.Read.All. The Azure AD app registration must have delegated User.Read.All added 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\"]"

Output

MICROSOFT_GET_USERS

MICROSOFT_GET_MANAGER