SMTP AUTH and EWS: what stops in Exchange Online

At the end of December 2026 Microsoft turns off Basic auth for SMTP AUTH by default, and on 1 April 2027 EWS. What will stop working and what replaces it.

IT infrastructurePublished

What stops first is not everyday work in Outlook but everything that works with email automatically: scanners that send documents by email, accounting software that sends invoices, website forms, scripts and apps that read mailboxes without a person involved. But the EWS shutdown will also affect some of the email apps people use. Microsoft is turning off two old mechanisms in Exchange Online:

  • Basic auth for SMTP AUTH — sending email through smtp.office365.com with a username and password. It will be turned off by default at the end of December 2026.
  • Exchange Web Services (EWS) — an old programming interface to email, calendars and contacts. Phased disablement began in October 2026, and final shutdown is on 1 April 2027.

Below: what exactly is changing, how to find what will be affected and what to replace it with. We rely on Microsoft’s documentation, blog and Message Center posts as of November 2026.

In short

SMTP AUTH with Basic auth EWS
What it is sending email through smtp.office365.com with the mailbox username and password a programming interface to email, calendars and contacts
Who uses it scanners and multifunction printers, accounting software, CRM, website forms, alerting systems, scripts Apple Mail and Calendar on macOS, classic Outlook for Mac, outdated Outlook for Windows builds, some add-ins, Power Query and Power BI, Teams devices, backup applications
What changes end of December 2026 — turned off by default in existing tenants from 1 October 2026 — phased disablement in tenants; 1 April 2027 — full and permanent
Can it be postponed yes, an admin will be able to turn it back on; Microsoft will announce the final removal date in the second half of 2027 until 1 April 2027 — yes; after that — no, there will be no exceptions
What replaces it OAuth, relay through a connector, High Volume Email, Microsoft Graph Microsoft Graph, updated versions of apps and devices

SMTP AUTH: what is happening

SMTP AUTH (client submission) is when a device or app connects to smtp.office365.com, usually on port 587, signs in to a mailbox and sends email on its behalf. It can sign in two ways: with a username and password (Basic auth) or with an OAuth token. Modern email clients — Outlook, Outlook on the web, Outlook for iOS and Android — don’t use SMTP AUTH to send email.

For other Exchange Online protocols, Basic auth was turned off at the end of 2022; SMTP AUTH remained the exception. Final removal was planned for March–April 2026, but Microsoft postponed it. The current timeline, updated on 27 January 2026:

  • until December 2026 — nothing changes;
  • end of December 2026 — Basic auth for SMTP AUTH is turned off by default in existing tenants. Admins will still be able to turn it back on if needed;
  • new tenants created after December 2026 — Basic auth for SMTP AUTH is unavailable by default; OAuth is the supported method;
  • in the second half of 2027 Microsoft will announce the final removal date.

In Message Center post MC786329, Microsoft promised details in a separate follow-up Microsoft 365 Message Center post. As of late November 2026 we haven’t found that post, so keep an eye out for new SMTP AUTH announcements.

The change concerns client submission with a mailbox sign-in: the smtp.office365.com and smtp-legacy.office365.com endpoints. Relay through a connector and Direct Send are separate methods that don’t use mailbox credentials.

Two details worth checking now:

  • Security defaults. If security defaults are turned on in the tenant, SMTP AUTH already doesn’t work there. More about these settings in “Moving company email to Microsoft 365”.
  • TLS. Client submission requires TLS 1.2 or 1.3. If a device recommends port 465 or uses it by default, Microsoft says it doesn’t support the required TLS versions.

What may stop sending email

  • scanners and multifunction printers with a “scan to email” feature;
  • accounting systems, CRM and business apps that send invoices, reminders and notifications;
  • website forms and online stores, if they send email through a Microsoft 365 mailbox;
  • monitoring and security alert systems, HR and payroll systems;
  • PowerShell scripts with Send-MailMessage. Microsoft marks this cmdlet as obsolete; for Exchange Online, the documentation suggests Send-MgUserMail from the Microsoft Graph PowerShell SDK;
  • POP3 and IMAP4 email clients — they send email through SMTP AUTH.

How to find who still uses Basic auth

  1. The SMTP AUTH clients report. Exchange admin center → Reports → Mail flow → SMTP AUTH clients. The Authentication Protocol column shows the sign-in method: Basic Auth (TlsAuthLogin) or Modern Auth (XOAUTH2). The report also shows the sender address, the number of messages and the TLS version. By default it covers 7 days; you can pick up to 90 days and export a CSV.
  2. Microsoft Entra sign-in logs. Entra ID → Monitoring & health → Sign-in logs, filter Client app → Authenticated SMTP. Microsoft advises checking the non-interactive sign-ins tab (User sign-ins (non-interactive)) as well.
  3. Mailbox settings. In Exchange Online PowerShell, the SmtpClientAuthenticationDisabled setting shows where SMTP AUTH is explicitly turned on: for the organisation (Get-TransportConfig) and for individual mailboxes (Get-CASMailbox).
  4. From mailbox to device. The report shows the sender address, not the device. For each such mailbox, find out which devices and apps sign in to it with a password.

What to replace Basic auth with

Microsoft describes several methods. The choice depends on what the device or app supports and who the email goes to.

Method Who it sends to What you need
SMTP AUTH with OAuth inside and outside your organisation the app or device supports OAuth (XOAUTH2); an app registered in Entra ID with the SMTP.Send permission (on behalf of a user) or SMTP.SendAsApp (as the app). For SMTP.SendAsApp, you also register the service principal in Exchange Online (New-ServicePrincipal) and grant it mailbox permission (Add-MailboxPermission). SMTP AUTH must stay turned on for the mailbox
Relay through a connector inside and outside your organisation an inbound connector in Exchange Online — by certificate (recommended) or by a static public IP address not shared with other organisations; port 25; an SPF record
High Volume Email (HVE) only recipients in your tenant an HVE account with Basic auth or OAuth; endpoint smtp.hve.mx.microsoft, port 587; pay-as-you-go billing through an Azure subscription
Azure Communication Services Email inside and outside your organisation an Azure Communication Services resource connected to Email Communication Services and a verified domain; for SMTP, an Entra ID app and an SMTP username, endpoint smtp.azurecomm.net, port 587
Microsoft Graph (sendMail) inside and outside your organisation your own app or script; the Mail.Send permission, limited to the mailboxes it needs through RBAC for Applications in Exchange Online
Direct Send only recipients in your tenant the device itself sends to the tenant’s MX endpoint on port 25; a static IP address (recommended, needed for SPF), SPF, DKIM and DMARC. If Reject Direct Send is on, an inbound connector as well

A few caveats from Microsoft’s documentation:

  • Relay through a connector doesn’t work for services hosted in a third-party cloud, including Azure. If the IP address ends up on a spam blocklist, delivery is disrupted.
  • HVE is meant for internal email from apps and devices: it doesn’t send to external recipients.
  • Direct Send is recommended by Microsoft only when a legacy device supports none of the other methods. Such messages are checked like anonymous email from the internet. Since 16 November 2026, the Reject Direct Send setting is generally available: it rejects messages sent anonymously from addresses in your domains, that is, not through a connector. In new tenants Microsoft turns it on by default with no option to turn it off; in existing tenants an admin turns it on. Before that, review the DRS scenario in Reports → Mail flow → Change Optics Report: it shows sample Direct Send messages. For each legitimate sender, create an inbound connector by certificate or IP address. How SPF, DKIM and DMARC protect against sender spoofing — see “Anti-spam: the first line of email defence”.
  • App permissions. The application Mail.Send permission granted in Entra ID lets an app send as any mailbox. To limit the mailboxes, assign the app the Application Mail.Send role with a limited scope through RBAC for Applications in Exchange Online and remove the Mail.Send permission in Entra ID — otherwise the limit has no effect.
  • Your own mail server. If you have Exchange Server in a hybrid configuration, devices can send through it: with Basic auth on the on-premises server or through anonymous (not open) relay.

Turning Basic auth back on after December is a temporary fix: Microsoft hasn’t announced the final removal date yet.

EWS: what is happening

Exchange Web Services is a programming interface for accessing email, calendars and contacts. It hasn’t received new features since 2018. In 2023, Microsoft announced it would turn off EWS in Exchange Online in October 2026. After the Midnight Blizzard attack in January 2024, which involved EWS, the plan was extended to Microsoft’s own products as well. EWS in on-premises Exchange Server is not affected.

Disablement is controlled by the tenant setting EWSEnabled:

  • from 1 October 2026 Microsoft is gradually changing the default value to False, which blocks EWS for all apps in the tenant. A warning arrives in the Message Center beforehand;
  • from 10 October 2026 EWSEnabled = True alone no longer grants access: EWS works only for apps on the EWSAllowedAppIDs allow list. An empty list blocks all apps, except traffic through organisation relationships between tenants. For some tenants without their own list, Microsoft created one from EWS usage over the previous 60 days, but rarely used apps may be missing from it. A new list replaces the previous one entirely, so include every required ID each time;
  • until April 2027 EWS can be turned back on — in the Microsoft 365 admin center (Baseline security mode) or in PowerShell. The change usually takes effect within an hour, and allow list changes within a day;
  • from 1 April 2027 EWS in Exchange Online will be turned off fully and permanently, and admins will no longer be able to change EWSEnabled. Microsoft will make no exceptions.

Who uses EWS, according to Microsoft’s lists:

  • email apps: Apple Mail and Calendar on macOS, classic Outlook for Mac, outdated Outlook for Windows builds. Outlook for Windows should be build 16.0.20430.20092 (August 2026) or later. The new Outlook for Mac is not affected;
  • add-ins and analytics: some Outlook add-ins, Power Query in Excel, Power BI. Some Office add-in management features also work through EWS — centralized deployment and the private catalog. For Word, Excel and PowerPoint on Windows, Microsoft is moving them off EWS in Office LTSC 2024; older LTSC releases won’t get this update;
  • Teams devices: Teams Rooms on Android, Teams phones and Teams panels get the calendar through EWS. On devices with an app version older than the minimum released in February 2026, the calendar may stop syncing;
  • backup applications and other third-party apps, as well as Exchange Server hybrid scenarios;
  • calendar sharing with other organisations. Free/Busy, MailTips and shared calendars with other Microsoft 365 tenants through Organization Relationships and Sharing Policies also run on EWS. Microsoft is moving them to Cross-Tenant Access Policy; shared calendars are due there by 4 December 2026.

How to find apps that use EWS

  • The EWS usage report: Microsoft 365 admin center → Reports → Usage → Exchange → EWS usage. It shows the app ID, the actions and the number of calls. Data is collected weekly and appears in the report with a delay of up to 10 days.
  • The allow list: Get-OrganizationConfig -RetrieveEwsOperationAccessPolicy | Format-List EwsAllowedAppIDs shows the contents of the list. It only applies when EWSEnabled = True — check with Get-OrganizationConfig | Format-List EWSEnabled.
  • The app behind an ID: find it among Enterprise applications in Microsoft Entra ID.
  • Teams devices: app versions on devices are shown in the Teams admin center.

Then ask the vendor for a version without EWS. Move your own apps to Microsoft Graph: Microsoft publishes Graph equivalents for many EWS operations.

Checklist

  • The SMTP AUTH clients report has been reviewed for 90 days, and senders using Basic Auth are listed
  • For each sender, you know which device or app uses it
  • For each one, a replacement is chosen: OAuth, relay through a connector, HVE or Microsoft Graph
  • Scripts with Send-MailMessage have been rewritten
  • Before turning on Reject Direct Send, the Change Optics Report has been reviewed and connectors created for legitimate senders
  • The Message Center has been checked for SMTP AUTH and EWS posts
  • The EWS usage report and the EWSAllowedAppIDs allow list have been reviewed
  • Outlook for Windows and the app on Teams devices have been updated
  • Vendors of apps that use EWS have been asked about versions without EWS before 1 April 2027
  • App permissions to email are limited to the mailboxes they need

How Bereg-IT can help

As part of our IT infrastructure services, we deploy and support Exchange and Office 365. We’ll find the devices and apps that still send email with a username and password or call EWS, choose a replacement for each and configure it. If you are only planning a move to Microsoft 365, start with “Moving company email to Microsoft 365”.

The first consultation is free. Send a request and we’ll suggest what to change in your tenant before December and before April.

Sources

  1. Exchange Team Blog, Updated Exchange Online SMTP AUTH Basic Authentication Deprecation Timeline (27.01.2026): https://techcommunity.microsoft.com/blog/exchange/updated-exchange-online-smtp-auth-basic-authentication-deprecation-timeline/4489835
  2. Microsoft 365 Message Center, MC786329: Exchange Online to retire Basic Auth for Client Submission (SMTP AUTH) (updated 27.01.2026, expired 30.03.2026), archived copy: https://mc.merill.net/message/MC786329
  3. Exchange Team Blog, Exchange Online to retire Basic auth for Client Submission (SMTP AUTH) (15.04.2024, updated 27.01.2026): https://techcommunity.microsoft.com/blog/exchange/exchange-online-to-retire-basic-auth-for-client-submission-smtp-auth/4114750
  4. Microsoft Learn, Enable or disable authenticated client SMTP submission (SMTP AUTH) in Exchange Online: https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/authenticated-client-smtp-submission
  5. Microsoft Learn, How to set up a multifunction device or application to send email using Microsoft 365 or Office 365 — sending methods, requirements and limitations: https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-microsoft-365-or-office-365
  6. Microsoft Learn, SMTP AUTH Clients report in the new Exchange admin center: https://learn.microsoft.com/en-us/exchange/monitoring/mail-flow-reports/mfr-smtp-auth-clients-report
  7. Microsoft Learn, Block legacy authentication with Conditional Access — finding legacy protocols in sign-in logs: https://learn.microsoft.com/en-us/entra/identity/conditional-access/policy-block-legacy-authentication; How to customize and filter identity activity logs — the Client app filter: https://learn.microsoft.com/en-us/entra/identity/monitoring-health/howto-customize-filter-logs
  8. Microsoft Learn, Authenticate an IMAP, POP or SMTP connection using OAuth: https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth
  9. Microsoft Learn, Manage High Volume Email for Microsoft 365: https://learn.microsoft.com/en-us/exchange/mail-flow-best-practices/high-volume-mails-m365
  10. Microsoft Learn, Create credentials for Simple Mail Transfer Protocol (SMTP) authentication (Azure Communication Services): https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/email/send-email-smtp/smtp-authentication
  11. Microsoft Learn, user: sendMail (Microsoft Graph): https://learn.microsoft.com/en-us/graph/api/user-sendmail; Role Based Access Control for Applications in Exchange Online: https://learn.microsoft.com/en-us/exchange/permissions-exo/application-rbac
  12. Microsoft Learn, Send-MailMessage — the cmdlet is obsolete: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/send-mailmessage
  13. Exchange Team Blog, Reject Direct Send now Generally Available in Exchange Online (16.11.2026): https://techcommunity.microsoft.com/blog/exchange/reject-direct-send-now-generally-available-in-exchange-online/4573787
  14. Microsoft Learn, Deprecation of Exchange Web Services in Exchange Online: https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-ews-exchange-online
  15. Exchange Team Blog, Exchange Online EWS, Your Time is Almost Up (05.02.2026, updated 27.10.2026): https://techcommunity.microsoft.com/blog/exchange/exchange-online-ews-your-time-is-almost-up/4492361
  16. Exchange Team Blog, Introducing EWSAllowedAppIDs: Preparing for the Final Phase of EWS Retirement (19.06.2026): https://techcommunity.microsoft.com/blog/exchange/introducing-ewsallowedappids-preparing-for-the-final-phase-of-ews-retirement/4529471
  17. Exchange Team Blog, Exchange Online EWS application stopped working? Do this. (21.10.2026): https://techcommunity.microsoft.com/blog/exchange/exchange-online-ews-application-stopped-working-do-this-/4566215
  18. Microsoft 365 Message Center, MC1485116: Exchange Web Services (EWS) enforcement update for EWSAllowedAppIDs (01.10.2026), archived copy: https://mc.merill.net/message/MC1485116
  19. Microsoft 365 Message Center, MC1486282: Update Teams devices to a minimum app version ahead of the retirement of EWS (02.10.2026), archived copy: https://mc.merill.net/message/MC1486282
  20. Microsoft 365 Message Center, MC1446796: Migrate Free/Busy, MailTips, and Calendar Sharing before EWS deprecation (updated 23.11.2026), archived copy: https://mc.merill.net/message/MC1446796
  21. Microsoft Learn, Exchange Web Services (EWS) usage report: https://learn.microsoft.com/en-us/microsoft-365/admin/activity-reports/ews-usage
  22. Microsoft Learn, Exchange Web Services (EWS) deprecation FAQ for Office Add-ins: https://learn.microsoft.com/en-us/office/dev/add-ins/concepts/faq-exchange-web-services

Let’s find what will stop in your Microsoft 365

The first consultation is free. Tell us which devices and apps send email or work with mailboxes, and we’ll suggest what to change before December and before April.

About IT infrastructure