Thank you for your follow-up question.
You're right - Basic Authentication, including App Passwords, is being retired for SMTP AUTH in Exchange Online. Here're some of alternatives you can use:
1. OAuth 2.0 (Modern Authentication)
This is the primary and most secure alternative. Microsoft recommends switching to OAuth for all SMTP AUTH scenarios.
- OAuth tokens are time-limited, scoped, and revocable, making them far more secure than static passwords.
- OAuth supports multi-factor authentication (MFA) and integrates with Microsoft Entra ID (formerly Azure AD).
2. Azure Communication Services email
- For sending emails to both internal and external recipients, Azure Communication Services Email is a scalable and secure alternative.
3. High Volume email for Microsoft 365
- If you're only sending emails internally within your tenant, this service is a suitable replacement for Basic Auth SMTP.
4. Exchange Server On-Premises (Hybrid Configuration)
- Organizations with hybrid setups can continue using Basic Auth with their on-prem Exchange Server or configure a receive connector for anonymous relay.
This is recommended next steps you can consider using OAuth to send emails:
- Audit current usage: Use the SMTP AUTH Clients Submission Report in the Exchange Admin Center to see which clients are still using Basic Auth vs. OAuth.
- Enable OAuth in your applications: If supported, configure IMAP/POP/SMTP to use OAuth - Microsoft provides step-by-step instructions at Deprecation of Basic authentication in Exchange Online
- Plan for devices that don’t support OAuth: Choose between SMTP relay, Direct Send, or setting up an SMTP proxy depending on your environment and security needs.
- Explore new services if needed: If use cases involve large or mixed recipient scenarios, evaluate High Volume Email and Azure Communication Services.
I hope this information is helpful. Please follow these steps and let me know if it works for you. If not, we can work together to resolve this.
As other users will also search information in this community, your valuable vote will definitely also help other users who have similar queries easily to find the correct channel and useful information more quickly.
Thank you for your patience and your understanding. If you have any questions, please feel free to reach out.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment”.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.