SMTP AUTH Basic Authentication Disabled, How to Send Mail?
Resolved Email & Outlook
AM
Adrian Mitchell
November 24, 2026
4 replies
55 views
Reviewed by moderators
3 participants

Our scanner and an old app send mail through smtp.office365.com. They now fail with "535 5.7.139 Authentication unsuccessful, basic authentication is disabled". What are my options?

Accepted answer
Marked as the solution to this question

That error means basic authentication is blocked for that sign in. First check why:

1. Security defaults or a conditional access policy in your tenant can block legacy sign in.
2. SMTP AUTH can be disabled for the entire tenant or for one mailbox. Check Get-TransportConfig | Select SmtpClientAuthenticationDisabled and Get-CASMailbox user@domain.com | Select SmtpClientAuthenticationDisabled.

If your app only supports a username and password, you have these choices:

1. Use OAuth 2.0 for SMTP AUTH if the app can do it. Many new scanner firmware versions can.
2. Use the Graph sendMail API if you write the app yourself.
3. Use an SMTP relay connector that trusts a fixed public IP address of your office. The device then sends without a password.
4. Use a bulk mail service for large volumes.

Microsoft moved the SMTP AUTH basic authentication dates in January 2026, so confirm the current schedule in the Exchange Team blog post on the updated timeline before you plan.

The scanner has no OAuth. Our office has a static IP. Will the connector option work for sending to outside people?

Yes. Create an inbound connector in the Exchange admin center that goes from your organization's email server to Microsoft 365, and restrict it to your office IP address. Then point the scanner to your MX endpoint on port 25 with your own domain in the From address. The connector lets Exchange Online relay for that IP, including to external recipients. Add that IP to your SPF record as well.

Done. The scanner sends again. Thanks.