The option of AutoDiscovery was launched in the Exchange 2007 and its further editions. The main role of Autodiscovery is to supply the necessary data for configuration to mail server, including the Credentials (Username & Password). This feature plays a vital role when users of Exchange Server need to make a connection with the Server without having any advance information about server name, domain name, etc. Further, it is also used for the smooth & soft working of applications like OAB and Out of office.
The Autodiscovery feature of the Exchange also helps in configuration of client with the Exchange to remote and mobile users. Consider an Example, When you setup an email account in the Smartphones like Android, it will ask for credentials
The email client of your mobile will look for the https://<your domain>.com/autodiscover/autodiscover.xml after providing the credential details. With it, it will look for the information required for the configuration with Server. If you have configured the Autodiscovery feature in a proper manner, then the process will complete within a few minutes.
AutoDiscovery also plays an important role in OAB (Offline Address Book) and OOF (Out of Office) . As we know that Outlook needs AutoDiscovery to gather the details required for the configuration of Exchange Server. If you have not configured your AutoDiscovery feature in a proper manner an Error Code 600 will pop up with the Error message “Error 600 Invalid Request”. This error may result in different problems like:
Now in the next part we of this blog, we will learn the method to solve out the issues related to the AutoDiscovery
To resolve the issue open Autodiscovery.xml from the path https://<your domain>.com/autodiscover/autodiscover.xml. When you have done this, MS Outlook will provide the account details by communicating with the CAS. The Autodiscovery file will open and looks like this:
If this xml file is opening means that the CAS is Server is working in a proper manner and you can go with the Steps mentioned below to troubleshoot the problem. If there is an issue with the opening of XML file, then just replace the IP address of CAS with the Domain name. If yo found that the XML file is opened now, indicates that there is an issue with the DNS (Domain Name Server).
Step 1:
To ensure that the Configuration of AutoDiscovery is working in a proper manner, Two test can be performed:
The test executed outside the Network is very simple to perform. You only require to open URL www.testexchangeconnectivity.com in the Web Browser. This free of cost tool is provided by Microsoft.
In the website, you will find two options to test AutoDiscovery Configuration: Exchange Activesync AutoDiscover and Outlook Autodiscover. You can select any of the one option to proceed further. After selecting the option, click on the next Button.
In the Next page you will be asked to fill provide some information. After filling all the information, Perform the test by clicking on Perform Test option. This test will try to download the XML file.
You may receive the error with message “Connectivity Test Failed”. To get the complete details of Error, Expand the details of error by clicking on the button Expand all.
To test Autodiscovery configuration within the network you can use the Outlook profile configured with Exchange. Find the Outlook icon in System tray. Right click on the Outlook icon by holding the CTRL key and select the option Test E-mail AutoConfiguration
In the next window provide the credentials and don’t forget to enable the Use AutoDiscovery option. Now click on the test button to proceed further.
Step 2:
If the method given above does not work for you, then it is recommended to check out the firewall settings. The AutoDiscovery services are accessed through HTTPS protocols and for that you need to verify that the port 443 for CAS firewall is open. Also check out that the SSL certificate you are using is issued from Trusted C.A. The CAS in default uses a self-signed-certificate.
All will work fine if you are using AutoDiscovery service within the network. If you want to use it outside the network, then Subject Alternative Certificate is required.
In the above pat we have seen that while downloading XML file, Outlook verifies two URLs.
It is also possible that the URL is working in a proper manner while downloading XML file, but Microsoft is saying to create the record of Host (A) to the DNS. One thing is also recommended is to use SAN certificate because with it we can link multiple subject names with only one certificate. To make the SSL encrypted connection domain name should be added in autodiscover.<your domain>
After doing all this opn the URL openhttps://autodiscover.<your domain>/autodiscover/autodiscover.xml to open the XML file. If all things are configured in a proper manner, XML file should be accessible now.
Conclusion:
In this blog, I have explained the general issues regarding the Autodiscovery feature of Exchange, also I have explained the AutoDiscovery error code 600. In case, if you are facing any problem while resolving the issues regarding AutoDiscovery, Please comment with the proper error code, We will try our best to resolve your query.