Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Exchange Service Return (503)Service Unavailable #753

Open
veir-panda opened this issue Mar 14, 2022 · 1 comment
Open

Exchange Service Return (503)Service Unavailable #753

veir-panda opened this issue Mar 14, 2022 · 1 comment

Comments

@veir-panda
Copy link

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?

@wureka
Copy link

wureka commented Mar 30, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants