How do I verify that EWS is set up properly?
To verify EWS availability, follow these steps:
- Connect to your EWS URL
example: https://mail.example.com/ews/exchange.asmx where mail.example.com is your domain name. It is best to perform this from a computer that is not joined to the domain and has access to the internet.
- Enter credentials when prompted.
- After entering credentials, you should see an XML document (also known as a WSDL).
If you see an Outlook Web App (OWA) forms authentication page, you have configured an incorrect authentication method. Make sure that the EWS virtual directory is protected, using either Basic Authentication and/or Windows Authentication. An OWA protected EWS virtual directory is generally caused by an ISA firewall policy that was configured incorrectly. If you are using ISA, create a new firewall policy for EWS that leverages an authentication method other than Forms Authentication.
If Forms Authentication is turned on alongside Windows Authentication, you may get the following errors:
- The remote server returned an error: (404) Not Found
- 401 - Unauthorized: Access is denied due to invalid credentials
Disable Forms Authentication and retry. You may need to do an IIS reset if the settings do not refresh.