Difference between revisions of "EWS Migration"

[checked revision][pending revision]
Line 1: Line 1:
== Microsoft Is Discontinuing Its Exchange Web Services (EWS) for Microsoft 365 ==
+
__NOTOC__
Microsoft [https://techcommunity.microsoft.com/blog/exchange/retirement-of-exchange-web-services-in-exchange-online/3924440 has announced] that it will no longer support Exchange Web Services (EWS) for Exchange Online as of October 1, 2026. This decision affects all companies that use EWS in combination with Exchange Online (Microsoft 365).
+
Exchange Web Services (EWS) is a technology that was developed specifically for accessing Exchange data. The API enables access to data from Microsoft Exchange Server and Exchange Online, including emails and mailboxes. EWS has been a central interface for third-party solutions such as archiving systems.
  
EWS is a technology that was developed specifically for accessing Exchange data. The API enables access to data from Microsoft Exchange Server and Exchange Online, including emails and mailboxes. EWS has been a central interface for third-party solutions such as archiving systems.
+
== Microsoft is discontinuing Exchange Web Services (EWS) for Microsoft 365 ==
 +
Microsoft [https://techcommunity.microsoft.com/blog/exchange/retirement-of-exchange-web-services-in-exchange-online/3924440 has announced] that it will block access to Exchange Web Services (EWS) for Exchange Online starting October 1, 2026. EWS will be completely shut down by April 2027. This decision affects all organizations that use EWS in conjunction with Exchange Online (Microsoft 365). After the shutdown, some resources will only be accessible via the Graph API, while for other resources there is [https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-ews-exchange-online currently no Graph API equivalent]. These resources will then no longer be accessible by third-party solutions.
  
What Will Happen in October?
+
Microsoft will [https://techcommunity.microsoft.com/blog/exchange/exchange-online-ews-your-time-is-almost-up/4492361 preconfigure and potentially restrict access] to EWS based on usage starting in August 2026. Administrators can also [https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-control-access-to-ews-in-exchange manage the settings themselves].
Microsoft plans to disable EWS for Exchange Online starting October 1. This decision will force manufacturers to switch to the Microsoft Graph API.
 
  
Please note: If you use Exchange Online Kiosk, Microsoft Office 365, and Office 365 F1/F3, you should make the change by June. Further information can be found [https://techcommunity.microsoft.com/blog/exchange/update-to-ews-access-for-kiosk--frontline-worker-licensed-users/4474299 here].
+
For customers using Exchange Online Kiosk, Microsoft Office 365, and Office 365 F1/F3, [https://techcommunity.microsoft.com/blog/exchange/update-to-ews-access-for-kiosk--frontline-worker-licensed-users/4474299 Microsoft will disable EWS access as early as June 2026].
  
== What Will Change for MailStore Server and the MailStore SPE? ==
+
== What will change for MailStore Server and MailStore SPE? ==
The shutdown of EWS initiated by Microsoft will require adjustments to MailStore Server and the MailStore SPE, depending on your archiving strategy.
+
The shutdown of EWS initiated by Microsoft will require adjustments in MailStore Server and MailStore SPE, depending on the archiving strategy. Archiving methods within MailStore Server and MailStore SPE that previously have used EWS may no longer be able to connect after October 1st and will then encounter errors.
This is because archiving methods within MailStore Server and MailStore SPE that were accessing EWS will no longer be available from October 1 and will then run into errors.  
 
  
The following profiles are expected to be affected from October onwards, Graph API does not expose access to these and support is effectifely dropped:
+
== Which protocols does MailStore use? ==
  
* Importing Exchange Online archive mailboxes
+
Up to and including version 25.4, MailStore exclusively created Microsoft 365 archiving and export profiles that used EWS. Starting with version 26.1, new archiving profiles for regular mailboxes use the Graph API. New archiving profiles for archive mailboxes and public folders continue to use EWS, as these are not accessible via the Graph API. New export profiles, starting with version 26.2, use the IMAP protocol, since importing complete emails into a Microsoft 365 mailbox using the Graph API is also not possible.
* Importing Exchange Online public folders
 
  
Regular Exchange Online Mailboxes and Shared Mailboxes are available using Graph API. New [[Archiving_Emails_from_Microsoft_365_-_Modern_Authentication|mailbox archiving profiles]] in MailStore will use Graph API starting with version 26.1.
+
=== How can MailStore support me during the migration? ===
Please ensure you have registered the app in Entra ID [[Synchronizing_User_Accounts_with_Microsoft_365_-_Modern_Authentication#Configuring_API_Permissions_in_Microsoft_Entra_ID|according to our instructions]]; in particular, the Mail.ReadWrite permission is now required.
 
New export profiles will change with version 26.2. Existing EWS archiving and export profiles will work until October 2026. We will offer a migration path in the coming months.
 
  
The [[Email_Archiving_with_MailStore_Basics|summary panel]] of the archiving or export profile tells which protocol is used. Microsoft 365 Journal archiving profiles do not typically use EWS and are therefore not affected.
+
Make sure you have completed the app registration in Entra ID [[Synchronizing_User_Accounts_with_Microsoft_365_-_Modern_Authentication#Configuring_API_Permissions_in_Microsoft_Entra_ID|according to our instructions]]. In particular, the Mail.ReadWrite and IMAP.AccessAsApp permissions are now required.
 +
 
 +
The [[Email_Archiving_with_MailStore_Basics|summary of archiving profiles]] contains the protocol used. Microsoft 365 Journal archiving profiles do not typically use EWS and are therefore not affected.
 +
 
 +
If you have configured Microsoft 365 profiles that can be converted, this message will appear on the dashboard:
 +
 
 +
[[File:ews_conversion_message.png]]
 +
 
 +
Click this message to open the [[Microsoft_365_Profile_Conversion_Tool|Microsoft 365 Profile Conversion Tool]]. Use this tool to test and perform a conversion.
 +
 
 +
[[File:ConversionTool_en.png|450px|center]]
 +
 
 +
=== When do adjustments need to be made? ===
 +
 
 +
==== June 2026 ====
 +
 
 +
If you are an Exchange Online Kiosk, Microsoft Office 365, or Office 365 F1/F3 customer, all profiles must be migrated to Graph API and IMAP.
 +
 
 +
Archiving Exchange Online archive mailboxes and Exchange Online Public Folders will no longer be possible.
 +
 
 +
==== October 2026 ====
 +
 
 +
EWS profiles will continue to function after October 2026 if EWS access in Microsoft 365 is [https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-control-access-to-ews-in-exchange configured accordingly].
 +
 
 +
==== April 2027 ====
 +
 
 +
EWS profiles will no longer function after April 2027. Archiving regular mailboxes using Graph API and exporting to Microsoft 365 using IMAP will continue to function. Archiving Exchange Online archive mailboxes and Exchange Online Public Folders will no longer be possible. Microsoft [https://techcommunity.microsoft.com/blog/exchange/retirement-of-exchange-web-services-in-exchange-online/3924440 has hinted] at a future solution, but has not yet published a concrete plan. Microsoft recommends [https://learn.microsoft.com/en-us/exchange/collaboration/public-folders/migrate-to-microsoft-365-groups migrating public folders to Microsoft 365 Groups].
  
 
[[de:EWS Migration]]
 
[[de:EWS Migration]]
 
[[en:EWS Migration]]
 
[[en:EWS Migration]]

Revision as of 15:00, 8 April 2026

Exchange Web Services (EWS) is a technology that was developed specifically for accessing Exchange data. The API enables access to data from Microsoft Exchange Server and Exchange Online, including emails and mailboxes. EWS has been a central interface for third-party solutions such as archiving systems.

Microsoft is discontinuing Exchange Web Services (EWS) for Microsoft 365

Microsoft has announced that it will block access to Exchange Web Services (EWS) for Exchange Online starting October 1, 2026. EWS will be completely shut down by April 2027. This decision affects all organizations that use EWS in conjunction with Exchange Online (Microsoft 365). After the shutdown, some resources will only be accessible via the Graph API, while for other resources there is currently no Graph API equivalent. These resources will then no longer be accessible by third-party solutions.

Microsoft will preconfigure and potentially restrict access to EWS based on usage starting in August 2026. Administrators can also manage the settings themselves.

For customers using Exchange Online Kiosk, Microsoft Office 365, and Office 365 F1/F3, Microsoft will disable EWS access as early as June 2026.

What will change for MailStore Server and MailStore SPE?

The shutdown of EWS initiated by Microsoft will require adjustments in MailStore Server and MailStore SPE, depending on the archiving strategy. Archiving methods within MailStore Server and MailStore SPE that previously have used EWS may no longer be able to connect after October 1st and will then encounter errors.

Which protocols does MailStore use?

Up to and including version 25.4, MailStore exclusively created Microsoft 365 archiving and export profiles that used EWS. Starting with version 26.1, new archiving profiles for regular mailboxes use the Graph API. New archiving profiles for archive mailboxes and public folders continue to use EWS, as these are not accessible via the Graph API. New export profiles, starting with version 26.2, use the IMAP protocol, since importing complete emails into a Microsoft 365 mailbox using the Graph API is also not possible.

How can MailStore support me during the migration?

Make sure you have completed the app registration in Entra ID according to our instructions. In particular, the Mail.ReadWrite and IMAP.AccessAsApp permissions are now required.

The summary of archiving profiles contains the protocol used. Microsoft 365 Journal archiving profiles do not typically use EWS and are therefore not affected.

If you have configured Microsoft 365 profiles that can be converted, this message will appear on the dashboard:

Ews conversion message.png

Click this message to open the Microsoft 365 Profile Conversion Tool. Use this tool to test and perform a conversion.

ConversionTool en.png

When do adjustments need to be made?

June 2026

If you are an Exchange Online Kiosk, Microsoft Office 365, or Office 365 F1/F3 customer, all profiles must be migrated to Graph API and IMAP.

Archiving Exchange Online archive mailboxes and Exchange Online Public Folders will no longer be possible.

October 2026

EWS profiles will continue to function after October 2026 if EWS access in Microsoft 365 is configured accordingly.

April 2027

EWS profiles will no longer function after April 2027. Archiving regular mailboxes using Graph API and exporting to Microsoft 365 using IMAP will continue to function. Archiving Exchange Online archive mailboxes and Exchange Online Public Folders will no longer be possible. Microsoft has hinted at a future solution, but has not yet published a concrete plan. Microsoft recommends migrating public folders to Microsoft 365 Groups.