Migration guide

Why app passwords are not a long-term Microsoft 365 SMTP strategy

Understand the limitations of using app passwords as a workaround for clients that cannot complete modern authentication.

App passwords still behave like reusable secrets

An app password avoids an interactive second factor in the client. It does not give an old SMTP device a modern OAuth flow, scoped access token, or independent consent lifecycle.

Microsoft has removed this path in important configurations

Microsoft documents that Basic authentication deprecation prevents app-password use for affected Exchange Online clients. Security Defaults and tenant policy can also make Basic-authenticated client SMTP unsuitable or unavailable.

Choose a supported replacement

Update the client to OAuth, integrate Graph, use an appropriate Microsoft sending service or relay design, or use a focused bridge where standard authenticated SMTP is the only interface.

Primary sources

Microsoft Learn: Basic authentication deprecation in Exchange Online ↗Microsoft Learn: Set up devices and applications to send using Microsoft 365 ↗Microsoft Learn: Microsoft Graph user sendMail ↗