Somebytes SoftwareSomebytes Software Development

 



Access EWS as an application


Access your M365 mailboxes via EWS as an application.

Now that the Microsoft Exchange team has decided to retire the "ApplicationImpersonation" role under M365 by 2025, the question arises as to how you can now access multiple mailboxes without having to log in to each one with the user data.  

If Microsoft deactivates the role, the following message appears in the log: Testing Impersonation: The request failed. The remote server has returned an error: 403) Invalid.

To be able to access all mailboxes again, you must now do the following configuration:


In the current versions of ExMixedFolders and EEAttachments, it is possible to authorize EWS on M365 mailboxes as an application, so that you can access the individual mailboxes in a similar way to before.

 

Establishment of a corresponding service connection:

EWS as an APP