Skip to main content

Azure AD

Connect Toby to Microsoft Graph (Azure AD) for directory and contact-related chat tools.

CLI name: azuread

Prerequisites

  • An Azure AD / Microsoft Entra tenant
  • An app registration with appropriate Graph permissions for your use case

Configure

toby config

Go to Integrations → Azure AD and choose an Auth Method:

OAuth (PKCE) — default

FieldDescription
Tenant IDYour Azure AD tenant ID
Client IDApplication (client) ID
OAuth Redirect URI (optional)Localhost callback if omitted

Client credentials

FieldDescription
Tenant IDYour Azure AD tenant ID
Client IDApplication (client) ID
Client SecretApp secret for client-credentials flow

Save the configuration.

Connect

toby connect azuread
  • OAuth (PKCE): Complete sign-in in the browser.
  • Client credentials: Connect validates credentials and marks the integration connected.

Verify

toby status integration -i azuread

Disconnect

toby disconnect azuread

Example chat prompts

  • “Look up contact details for people named Jordan in my organization.”
  • “Who is the manager listed for this email address?”