🧡 Skip to main content🔍 Skip to search
Thomas UnderwoodBy Thomas Underwood 🕖 Published on January 2, 2025 at 7:00 am

Your Office/Microsoft 365 subscription includes free SMTP email services. Microsoft began disabling AUTH PLAIN and AUTH LOGIN authentication methods in 2021, and these will be disabled by default starting in 2025.

If you attempt to send an email through Microsoft's smtp.office365.com server, you may receive this error message:
535 5.7.139 Authentication unsuccessful,
SmtpClientAuthentication is disabled for the Tenant.
Visit https://aka.ms/smtp_auth_disabled for more information.

Enabling Microsoft's SMTP server is a simple process that takes only 1–2 minutes. However, please note that these settings do not take effect immediately. Once enabled, it typically takes some time (between 30 minutes and sometimes up to 25 hours) for the settings to fully propagate and for SMTP email sending to become available.

Access AUTH settings

To enable AUTH PLAIN and AUTH LOGIN for your Microsoft 365 subscription:

Microsoft Office 365 · Exchange Admin Center
Exchange Admin Center · Settings…

Locate the Mail flow settings…

Exchange Admin Center · Settings
Exchange Admin Center · Mail flow…

In the Security section, locate the option Turn off SMTP AUTH protocol for your organization. By default, this option is checked, indicating that SMTP authentication is disabled.

Exchange Admin Center · Mail flow settings
Mail flow settings…

Enable SMTP AUTH

To enable SMTP services that support AUTH PLAIN and AUTH LOGIN, make sure the Turn off SMTP AUTH protocol for your organization option is unchecked.

Microsoft Office 365 · Turn on SMTP AUTH protocol
Turn on SMTP AUTH protocol for your organization…

Scroll to the bottom of the form and click Save.

Exchange Admin Center · Save SMTP settings
Mail flow · Save…

Done! Keep in mind that it may take up to 25 hours for these settings to take effect.

Summary

By default, AUTH PLAIN and AUTH LOGIN are disabled for all Microsoft 365 accounts. This organization-wide setting impacts all email accounts in your subscription.

To enable full SMTP services, uncheck the Turn off SMTP AUTH protocol for your organization option and save the updated settings. Allow 30 minutes to 25 hours for the changes to take effect before sending emails using the smtp.office365.com server. Done!

Email options · smtp.office365.com
Office 365 SMTP settings…

Use Automation Workshop's Email Options to send a test email to verify that everything is working correctly. You can use the Email Setup Wizard to automatically populate the SMTP server details or enter them manually using settings provided by popular email service providers.

Alternatively, you can modify the SMTP AUTH settings using PowerShell scripts. For detailed guidance, refer to the SMTP for Office 365 and Microsoft 365 help article.

Save your time by automating!

Real users are utilizing Automation Workshop to automate tasks in Windows PCs and Windows Servers. It is the best Windows automation software and has been in the market since 2008. It is evolving rapidly to keep up with the constantly changing IT landscape.

Jayne B., quote about Automation Workshop
I love the Automation Workshop. It's so easy to use. It's one of the few products that really delivers what it promises.—Jayne B.

Automation videos · Automation can save time, money, and labor costs. Why keep doing things manually when Automation Workshop can automate most of them?

YouTube video · Monitor an FTP server & send file via email

Test SMTP

How to test whether Automation Workshop can use the specified SMTP server? When SMTP server and email settings are configured, go to the Email tab in Automation Workshop options and push the Send test email button.

The Notification email: Test message has been successfully sent entry should appear in Automation Workshop Log Pane and the email should shortly arrive to your e-mail address.

Troubleshooting more?

How automation works? A 90-second journey.

Still have a question?

If you have any questions, please do not hesitate to contact our support team.