Guides to the EWS retirement, Microsoft Graph and leaving .NET Framework
Dates and settings for administrators, and what changes in the code for developers who move from Exchange Web Services to Microsoft Graph. For applications on .NET Framework: what blocks the move to .NET 8, 10 or 11.
For administrators
- Exchange Online EWS retirement: dates and what to do
Microsoft’s schedule for switching EWS off in Exchange Online, how to keep an application running in the meantime, and a migration checklist.
- Which applications still use EWS in your tenant
Each place that lists EWS applications misses some. This PowerShell script combines four of them and gives every app ID a name and an owner.
- Your EWS app list: what to do with each application
The EWS usage report and the EWSAllowedAppIDs list name applications by ID. How to tell who owns each one, who has to fix it, and what to do until then.
- Dynamics 365 on-premises with Exchange Online: options after EWS
Dynamics 365 Customer Engagement (on-premises) synchronizes with Exchange Online through EWS. The dates, the allow list, and the options once EWS is removed.
- Cisco Unity Connection with Exchange Online: options after EWS
Cisco Unity Connection before 15 SU4 reaches Exchange Online through EWS. The dates, the allow list, what the upgrade changes, and the other options.
- EWS returns 403 in Exchange Online: causes and fixes
An application suddenly gets 403 Forbidden from EWS in Exchange Online. The four settings that cause it, how to check each one, and how long the fix lasts.
- EWS scripts in PowerShell after the EWS retirement
A PowerShell script that loads the EWS Managed API stops when EWS is switched off in Exchange Online. How to keep it running on Microsoft Graph.
For developers
- What changes when EWS Managed API code moves to Microsoft Graph
Sending, meetings, search, sync, notifications, IDs and time: where Microsoft Graph behaves differently from EWS, measured on live Exchange Online.
- EWS streaming notifications in Microsoft Graph: what replaces them
Microsoft Graph has webhooks and delta queries and no streaming connection. How EWS pull, push and streaming subscriptions map to Graph.
- EWS item IDs in Microsoft Graph: converting stored IDs and keeping them stable
How to convert stored EWS item IDs to Microsoft Graph IDs, when Graph IDs change, what immutable IDs fix, and which ConvertId formats Graph lacks.
- EWS extended properties in Microsoft Graph
How an EWS ExtendedPropertyDefinition maps to a Microsoft Graph extended property, how to read, write and filter by it, and what Graph cannot do.
- EWS impersonation in Microsoft Graph: application permissions and mailbox scope
Microsoft Graph has no ImpersonatedUserId. How a service that impersonated users in EWS reaches mailboxes in Graph and stays limited to the ones it needs.
- exchangelib and Exchange Online: options after EWS
exchangelib reaches Exchange Online through EWS only. The dates, how to keep Python scripts running until the retirement, and the options after it.
For software vendors
- One code base for Exchange Server and Exchange Online after EWS
A product with customers on Exchange Server and Exchange Online needs EWS for one group and Microsoft Graph for the other. Three ways to build it.
For .NET Framework apps
- ASP.NET Web Forms on .NET 8, 10 or 11: what the options are
Web Forms is not in ASP.NET Core. Stay on .NET Framework, migrate page by page, rewrite the UI in Blazor or use a third-party runtime: how to choose.
- WCF services on .NET 8, 10 or 11: CoreWCF, gRPC or Web API
Microsoft ships only the WCF client for .NET. What CoreWCF hosts and leaves out, when gRPC or a Web API fits, and how to assess your own services.
- System.Web on .NET 8, 10 or 11: what breaks and what replaces it
System.Web is not in .NET 8, 10 or 11. What stops compiling in MVC 5, Web API 2 and shared libraries, what ASP.NET Core uses instead and where adapters help.
- .NET Remoting, AppDomains and other .NET Framework-only APIs on .NET 8, 10 or 11
Remoting, AppDomains, BinaryFormatter, COM+, MSMQ, Workflow and CAS have no counterpart in .NET 8, 10 or 11. What replaces each and how to find them in code.
Do it yourself with the package
- Getting started: from the package swap to the first Graph call
The steps to run EWS Managed API code on Microsoft Graph: swap the NuGet package, grant Graph permissions, set four configuration values and test.
- EWS Managed API compatibility with Microsoft Graph
Which EWS operations the package runs on Microsoft Graph, where the behavior differs from EWS, and what Graph cannot do.