Help for owners
My app stopped syncing with Outlook after Microsoft switched off EWS
Short answer
If your app stopped syncing with Outlook mail, calendars or contacts, check whether it talks to Exchange Online through EWS (Exchange Web Services). Microsoft says EWS starts being disabled for all organizations in October 2026 and is fully disabled in April 2027. The lasting fix is moving the integration to Microsoft Graph.
Does this sound like your situation?
- My booking tool no longer puts appointments into Outlook calendars.
- A CRM or helpdesk stopped pulling in new emails from Microsoft 365 mailboxes.
- The sync log shows 403 or access errors on calls that worked for years.
- Only some mailboxes fail, while others in the same company still sync.
- The vendor of a tool I bought says they are still working on Microsoft support.
Why does this happen?
Microsoft is retiring EWS in Exchange Online
Microsoft announced that EWS would stop getting feature updates, then set its shutdown in Exchange Online. Its timeline says EWS starts to be disabled globally for all organizations in October 2026 and is fully disabled in April 2027. Apps that still read mail, calendars or contacts through EWS lose that access as the shutdown reaches their tenant.
Confirmed by learn.microsoft.com
A security incident widened the scope
Microsoft writes that the Midnight Blizzard incident in January 2024 involved EWS and made the deprecation more urgent. The scope grew from third-party apps to Microsoft's own products as well, and Microsoft says it is removing EWS dependencies from Outlook, Teams, Office and Dynamics 365.
Confirmed by learn.microsoft.com
Some EWS features have no Graph match yet
Microsoft keeps a roadmap of parity gaps, such as archive import and export, personal contact lists and some contact properties. It also lists capabilities that will never come to Graph, including generic public folder access and generic Microsoft 365 Group mailbox access. Microsoft advises not to plan on any capability missing from that roadmap arriving before EWS is fully off.
Confirmed by learn.microsoft.com
An admin may have switched EWS off early
Microsoft lets administrators disable EWS by hand at the organization level and for single users. If one department fails and another works, a per-user setting is a likely explanation to rule out before blaming the app.
Confirmed by learn.microsoft.com
What can I do about it today?
- Ask your Microsoft 365 admin for the EWS usage reportMicrosoft added EWS Usage Reports to the admin center. They show which applications still call EWS in your tenant, which turns a vague sync problem into a named list of tools.
- Write down what stopped and whenNote the first day sync failed, which mailboxes are affected and whether mail, calendar or contacts broke. Those three facts tell a developer where to look.
- Contact the vendor of any bought toolIf the failing tool comes from a vendor, ask in writing whether it still uses EWS and when its Graph version ships. Microsoft's own guidance tells customers to press vendors on this.
- Keep a manual fallback runningUntil sync returns, have staff copy urgent appointments or emails by hand and keep a short list of what was copied, so nothing is entered twice once the fix lands.
- Do not loosen mailbox security to get it backAvoid granting an old app broader mailbox rights or turning on legacy settings as a workaround. The shutdown is final, so time spent there is time lost.
When should I bring someone in?
- The integration was custom built for your company and nobody left on staff knows the code.
- Your app relies on public folders, shared Group mailboxes or archive mailboxes, where Graph has gaps.
- Customers or staff are missing bookings or emails every day while the sync is down.
How do I handle it?
- Map every EWS callI list each EWS operation the code makes and match it against Microsoft's EWS to Graph mapping, marking anything that falls into a known gap.
- Set up the Graph app registration properlyThe new integration gets its own app registration with the smallest permissions it needs, and the secret or certificate expiry goes into your calendar.
- Rebuild the sync in stagesI move one area at a time, for example calendar first, then mail, and keep a log of each item synced so gaps and duplicates are easy to see.
- Plan around missing featuresWhere Graph has no equivalent, I write down the options, such as changing the workflow or waiting for a roadmap item, so you can decide with the trade-offs in front of you.
The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.
What do owners ask about this?
When does EWS stop working in Exchange Online?
Microsoft's timeline says EWS starts being disabled globally for all organizations in October 2026 and is fully disabled in April 2027. Depending on when the shutdown reaches your tenant, your app may already have lost access.
What replaces EWS for Outlook calendar and mail sync?
Microsoft Graph. Microsoft publishes a mapping from EWS operations to Graph APIs, and many common scenarios are already covered.
Can the EWS shutdown be delayed for my company?
Microsoft's deprecation page does not describe a way for a single company to stay on EWS past full disablement. Plan the move to Graph as the only lasting path.
How do I find which apps in my company still use EWS?
Start with the EWS Usage Reports in the Microsoft 365 admin center. Microsoft also offers an EWS Analyzer tool for reviewing code.
Sources
For your developer: the technical fixes
{"error":{"code":"ErrorAccessDenied","message":"Access is denied. Check credentials and try again."}}Microsoft Graph answers 403 ErrorAccessDenied on mail, calendar or contacts callsAccess token validation failure. Invalid audience.Microsoft Graph rejects an access token with an invalid audienceA01 NO AUTHENTICATE failed.JavaMail cannot log in to Office 365 IMAP with an OAuth token
Related help
- My app stopped syncing after MongoDB Device Sync reached end of lifeMongoDB says Device Sync has reached end-of-life status and tells users to migrate to one of the alternative providers it lists.
- The extra fields I use are not coming through to QuickBooksA custom field is empty in QuickBooks when the sync was never told to send it, the field has a different name or type on each side, or QuickBooks does not accept that field on that kind of record.
- My WooCommerce orders are not reaching my accounting softwareEither leaves the accounting side empty.
- Invoices from my app are not showing up in XeroInvoices fail to reach Xero when the app lost its authorisation, sent too many calls, sent a record Xero refused, or is connected to a Xero plan without invoicing.