Exchange Web Services (EWS) stops working in Exchange Online on 1 April 2027. An integration or script that uses EWS to do something in a mailbox when someone joins or leaves, such as setting an automatic reply for a leaver, has to move to Microsoft Graph before that date.
The Microsoft Exchange team writes this in Exchange Online EWS, your time is almost up (5 February 2026, last updated 27 October 2026). Microsoft says there will be no exceptions past April 2027.
What has already changed
Since 1 October 2026 EWS has already been off in many tenants. It works through the organisation-level setting EWSEnabled:
- Null was the default. On or shortly after 1 October 2026 Microsoft changed it to False in tenants: EWS is blocked there.
- True could be set by administrators themselves before the end of September 2026, together with a list of allowed apps (
EWSAllowedAppIDs). EWS then kept working for the apps on that list. - An administrator can temporarily switch EWS back on after the block. Microsoft warns that there will have been an interruption.
On 1 April 2027 all of that ends. EWS is switched off for everyone and the EWSEnabled setting can no longer be changed.
Exchange Server on-premises does not change. In a hybrid setup, mailboxes on-premises may keep using EWS; mailboxes in Exchange Online have to move to Graph.
Why this affects HR
The HR integration itself usually talks to Entra ID or Active Directory, not to Exchange. But around joining and leaving there are often separate steps in mailboxes, sometimes in a script written years ago. Think of:
- an automatic reply on a leaver's last working day, pointing to a colleague;
- calendar items or invitations for the first working day;
- contacts or calendar settings for a new employee.
If such a step runs on EWS, it may have silently stopped in October, or it stops on 1 April 2027. The leaver then gets no automatic reply and customers email an address nobody reads.
What to do before 1 April 2027
- Check whether EWS is still in use. The Microsoft 365 admin center has reports on EWS usage per app. According to Microsoft the data is aggregated weekly and can take up to ten days to show up.
- Check the setting. If
EWSEnabledis False, EWS is already off and scripts that rely on it may have stopped silently in October. Check that automatic replies for recent leavers were actually set. - Move to Graph. You set an automatic reply with Graph through Update mailboxSettings (
PATCH /users/{id}/mailboxSettings, propertyautomaticRepliesSetting), with the application permissionMailboxSettings.ReadWrite. Microsoft writes that Graph has near-complete parity for most EWS scenarios and keeps an overview of the differences on Microsoft Learn. - Test with a test leaver. Enter an end date in the HR system and check that the automatic reply appears on that day.
What KoppelHet does here
KoppelHet builds the integration from the HR system to Entra ID and Active Directory, and where wanted also the steps in Exchange Online around joining and leaving. We build those on Microsoft Graph, not on EWS. We do this from, among others, AFAS to Entra ID, Nmbrs to Entra ID, SAP SuccessFactors to Entra ID and Loket to Entra ID.
Read more about last working day or end date when leaving, about offboarding or on the hub for Entra ID.