Troubleshooting server connection

No matter if you configure EWS connection to source Exchange Server or to source/target Office 365, the first action (test) performed by the program is always checking connection to your source server (Exchange Server, as shown in Fig. 1., or Office 365). During this operation, the software tries to access the source administrator's mailbox.

Exchange Migration actions EWS
Fig. 1. Actions performed when connecting to a source Exchange Server via EWS. The configuration window for source/target connection to Office 365 looks similar.

If the result is negative (Fig. 2.), click on the Details link on the right to see more information.

Exchange Migration EWS wizard failure 1
Fig. 2. Failure to connect to source Exchange Server. This error looks similar for source/target connection to Office 365.

Study the examples below that show the most common server connectivity issues:

  • The request failed. The remote server returned an error: (401) Unauthorized.

The error above indicates that admin's credentials entered in the previous step of the connection wizard are incorrect or belong to a non-administrative user. To fix the problem, make sure to enter correct administrator's credentials.

Learn more about this error

  • The request failed. Unable to connect to the remote server.

This error occurs when the domain name in administrator's email is misspelled or the password is wrong. Go to the previous step of the connection wizard and make sure to enter correct credentials. Similar message is also shown when the EWS URL is wrong. Go to the previous step of the wizard and enter correct EWS URL.

Learn more about this error

  • The request failed. The remote server returned an error: (403) Forbidden.

Read more about this error in this Knowledge Base article.

  • Error: (407) Proxy Authentication Required.

Read more about this error in this Knowledge Base article.

  • The Autodiscover service couldn't be located.

Read more about this error in this Knowledge Base article.

  • The given key was not present in the dictionary.

Read more about this error in this Knowledge Base article.

Was this information useful?