Scan-to-email and Microsoft 365: your options before Basic auth for SMTP goes away
Microsoft is turning off Basic authentication for SMTP AUTH by default at the end of December 2026. Here's what that means for copiers, scanners, and apps that send mail, and the four ways to keep them working.
Most small offices have at least one device that sends email through Microsoft 365 with a plain username and password: the copier’s scan-to-email, a UPS or NAS that sends alerts, a line-of-business app that emails reports. That setup uses SMTP AUTH with Basic authentication, and Microsoft is retiring it.
The good news is that the date moved, so there’s time to fix it properly instead of in a panic.
The current timeline
Microsoft first planned to start rejecting Basic auth for SMTP AUTH in March 2026. In January 2026 it put that on hold and published a new timeline:
- Now through December 2026: nothing changes. Basic auth for SMTP AUTH keeps working as it does today.
- End of December 2026: Basic auth for SMTP AUTH is turned off by default in existing tenants. Admins can still turn it back on.
- New tenants created after December 2026: Basic auth isn’t available by default. OAuth is the supported method.
- Second half of 2027: Microsoft plans to announce the final date when Basic auth for SMTP AUTH is removed for good.
So a device that breaks in January can be brought back by re-enabling Basic auth, but that’s a stopgap. Use the time to move each device to one of the options below.
Option 1: SMTP AUTH with OAuth
This keeps the same server and port. The device signs in to a mailbox, but with a token instead of a password.
- Server:
smtp.office365.com, port 587 (port 465 isn’t supported) - Encryption: TLS 1.2 or 1.3 required
- Sends to: anyone, inside or outside your organization
- Limits: 10,000 recipients per day, 30 messages per minute
The catch: the device or app has to support OAuth. Many newer copiers and apps have an “OAuth” or “Microsoft 365” option, or fields for a Tenant ID, Client ID, and client secret. If yours only has a username and password box, check for a firmware update before giving up on it.
If the app asks for a Tenant ID, Client ID, and secret, it’s using an app registration in Microsoft Entra. Microsoft’s steps, in short:
- Register the app in the Entra admin center, create a client secret, and under API permissions add Office 365 Exchange Online > Application permissions > SMTP.SendAsApp. Grant admin consent.
- In Exchange Online PowerShell, register the app’s service principal in Exchange. The
-ObjectIdis the Object ID from the Enterprise applications page, not from App registrations. Using the wrong one causes authentication to fail.
Connect-ExchangeOnline
New-ServicePrincipal -AppId <Application (client) ID> -ObjectId <Enterprise application Object ID>
- Give the service principal access to the mailbox it sends from:
$sp = Get-ServicePrincipal -Identity "<service principal display name>"
Add-MailboxPermission -Identity "[email protected]" -User $sp.Identity -AccessRights FullAccess
If the app sends as a different address than the mailbox it signs in to, it also needs Send As on that address (Add-RecipientPermission). Without it, messages fail with 5.7.60 SMTP; Client doesn't have permissions to send as this sender.
The mailbox also needs SMTP AUTH enabled. It’s off by default in tenants created after January 2020, and security defaults in Entra ID turn it off too. To check or enable it for one mailbox:
Get-CASMailbox -Identity [email protected] | Format-List SmtpClientAuthenticationDisabled
Set-CASMailbox -Identity [email protected] -SmtpClientAuthenticationDisabled $false
False means enabled, True means disabled, and blank means it follows the organization-wide setting.
Option 2: SMTP relay through a connector
For a copier that can’t do OAuth, this is usually the best fit. The device sends to your domain’s MX endpoint (something like example-com.mail.protection.outlook.com) on port 25, with no sign-in at all. Microsoft accepts the mail because an inbound connector recognizes your office.
- The connector identifies you by a certificate (Microsoft’s recommendation) or by your office’s static public IP address. Dynamic IPs aren’t allowed.
- Mail can go to anyone, inside or outside your organization.
- The sender address must be in one of your domains, but it doesn’t need a mailbox or a license.
- Add the IP to your domain’s SPF record if you use IP-based matching.
- Your internet provider must not block outbound port 25.
Option 3: Direct send
Direct send also uses your MX endpoint on port 25 with no sign-in and no connector, but it can only deliver to mailboxes in your own Microsoft 365 organization. Mail to outside addresses is rejected. Microsoft recommends it only for admins willing to manage SPF, DKIM, and DMARC carefully. It can work for scan-to-yourself, but relay is usually cleaner.
Option 4: High Volume Email
High Volume Email (HVE) is a separate Microsoft 365 service for apps that send a lot of internal mail. It’s worth knowing about, but read the fine print:
- Internal recipients only. HVE accounts can’t send outside your organization.
- It needs no Microsoft 365 license, but it’s pay-as-you-go: each HVE account needs a billing policy tied to an Azure subscription before it can send.
- It uses
smtp.hve.mx.microsofton port 587 with TLS and supports both OAuth and Basic auth.
For a copier that only scans to staff, it’s an option. For anything that emails customers or vendors, it isn’t.
Which one to pick
- Device supports OAuth: Option 1.
- Device only does username and password, and you have a static IP: Option 2.
- Only ever sends to your own staff and you’d rather not build a connector: Option 3 or 4.
Whatever you choose, make a list now of every device and app that sends through Microsoft 365, and test each change before the end of December.
Related
Sources
- Updated Exchange Online SMTP AUTH Basic Authentication deprecation timeline (Microsoft Exchange Team blog, January 2026), also published as Microsoft 365 message center post MC786329: the December 2026 default-off date, new-tenant behavior, and the 2027 final-date announcement
- How to set up a multifunction device or application to send email using Microsoft 365 (Microsoft Learn): SMTP AUTH, direct send, and SMTP relay requirements and limits
- Authenticate an IMAP, POP or SMTP connection using OAuth (Microsoft Learn): SMTP.SendAsApp, New-ServicePrincipal, and mailbox permissions
- Enable or disable SMTP AUTH in Exchange Online (Microsoft Learn): Set-CASMailbox and the security defaults note
- High Volume Email for Microsoft 365 (Microsoft Learn): internal-only delivery, endpoint, and billing
From Small Town Sysadmin
Get new guides by email
Plain-English tech tips, scam and security alerts, and fixes for small offices, whether you're the office manager or the IT pro. No spam, and you can unsubscribe anytime.