Since Exchange 2016 it is possible to use OAUTH, but it is not as easy as an Office365 account to setup.


You have to add Automatic Email Manager in the list of authorized software in your Exchange settings, we suggest you read this Microsoft tutorial:

https://docs.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-authenticate-an-ews-application-by-using-oauth


- For Redirect URI, change the dropdown to Public client (mobile & desktop) and set the value to urn: ietf:wg:oauth:2.0:oob



NOTE: We are not specialized with Exchange server settings, we suggest you to contact your IT team or Microsoft support to help you add Automatic Email Manager in the list of authorized software.