Troubleshooting target server connectivity
At the Verification stage of the Target server connection wizard, the program checks if it can establish a connection to the target server. The program attempts to access the administrator's mailbox using EWS (Exchange Web Services) API. It then tries to enumerate the Inbox folders on a mailbox. During that process, you may receive the following errors:
The request failed. The remote server returned an error: (401) Unauthorized.
This error indicates that:
- the admin's password entered in the previous step is incorrect,
- or the credentials belong to a non-administrative user,
- multi-factor authentication (MFA) is enabled for the admin account (Office 365 only).
To fix the problem, be sure to:
- enter credentials of a user with sufficient administrative rights,
- enter the correct password,
- use the app password instead of your regular Office 365 password if MFA is enabled for the admin account. Learn more.
- disable MFA for the admin account (Office 365 only).
The request failed. Unable to connect to the remote server.
This error occurs when the domain name in the administrator's UPN is misspelled. Go to the previous step of the connection wizard and make sure to enter correct credentials.
In the case of on-premises Exchange connection, a similar message is also shown when the EWS URL is wrong. Go to the Target server step of the wizard and enter the correct EWS URL.
The Autodiscover service couldn't be located.
This error indicates that the domain name in the admin's email address was misspelled. Go to the previous step of the wizard and make sure to enter the correct data.