Skip to main content

Configure Outlook 365 Email Clients with OAuth 2.0

Last reviewed: September 29, 2026

Use this article when AIQ-related email testing or service flows require OAuth 2.0 access to Outlook 365 mailboxes.

What changed in this article

  • Corrected OAuth 2.0 formatting and clarified the article is about Outlook 365 email client configuration.
  • Added checks for Azure app registration, tenant consent, scopes, redirect URI, mailbox permissions, token lifetime, and refresh behavior.
  • Added a security warning to avoid basic authentication, app-password reuse, and storing client secrets in article text or scripts.

Validation workflow

  1. Confirm the tenant allows the selected OAuth flow and mailbox access pattern.
  2. Validate app registration, scopes, redirect URI, and consent with the Microsoft 365 administrator.
  3. Run a test authentication flow and verify mail access without exposing tokens or client secrets in logs.

Review note: Updated the page toward OAuth 2.0 security requirements and away from older password-based mail automation.


Last updated: September 29, 2026

If you have feedback on this topic, contact documentation@appvance.ai.