ews-java-api icon indicating copy to clipboard operation
ews-java-api copied to clipboard

Exchange Service Return (503)Service Unavailable

Open veir-panda opened this issue 3 years ago • 1 comments

As mentioned in the title, Exchange Service is not available and return "(503)Service Unavailable". Which URL is https://outlook.office365.com/EWS/Exchange.asmx . Is anyone in this situcation?

veir-panda avatar Mar 14 '22 04:03 veir-panda

One possible cause could be that the exchange server you want to connect will validate the user agent. So you must find some valid user agent and try again. By the way, you may need to build your own ews-java-api.jar by deleting the default user agent in ExchangeServiceBase.defaultUserAgent. Otherwise even you set a valid user agent, you may still not pass the validation from the exchange server. Look forward to your test result.

wureka avatar Mar 30 '22 03:03 wureka