In this Article, We will cover how does Autodiscover works in Exchange to configure outlook profile for users without manual intermission of the user or administrator. Let’s Begin!!

What is Autodiscover?

Autodiscover is the one of the exchange feature which is introduced with exchange Server 2007. It helps users to configure the user’s Mailbox automatically.




How does It Works?

Now we will see what is going on behind the scenes of the Autodiscover. During the installation of Exchange Server, Each Exchange Server creates it’s own SCP(Service connection point) which you can see in Active Directory Sites and Services.

15SCP contains the Exchange server Autodiscover information. It will help outlook clients to locate Autodiscover information to configure user mailbox profile.

In Exchange IIS, You can see autodiscover virtual directory which is available for the auto discover settings.


in Exchange PowerShell, Get-Autodiscovervirtualdirectory


When outlook client opens, it will send LDAP request to the Active directory.



1. Outlook Client sends LDAP query to Active directory to look for SCP Points.

2. Active Directory will send the SCP Connection points to the Outlook Client it will be normal XML Response from active directory.

3. outlook will sorts the connection points which received from the previous request and sends HTTPS DNS Request to Autodiscover URL HTTPS:// If it fails, it will send http Request to HTTP:// If that also Fails, it will send SRV Request to active directory. even it fails, Outlook will fail completely and thrown an error.

4. Auto discover will returns with service connection settings to the client which will be XML File with all the connection settings.

5. Outlook client will take all these configuration information to contact exchange server. Exchange server will check for the appropriate mailbox information for the configuration information provided by the outlook client.

Now we will see how it is happening for the  outlook which got configured earlier in the article. fiddler is the great tool to trace http traffic. it helps to troubleshoot or trace the autodiscover issue.

1. Outlook Client sends first LDAP Query to domain. It failed


2. it sends Autodiscover request to Active directory and it checks the Certificate of the Autodiscover


You can there is no Cookies send to the browser.


3. Auto Discover sends the outlook settings and configuration information to outlook client.

9 It contains the authentication information and also you can see the session cookie passed to the client.


it sends all the EXCH,WEB and EXPR information to the Outlook client.


4. Outlook takes the configuration information which provided by autodiscover and contacts the Exchange Environment and configures the Mailbox and also downloads the Outlook Offline Address book(OOB) and EWS settings post the successfully outlook profile configuration.


That is how autodiscover works. We will see the troubleshooting when autodiscover fails in the upcoming articles.

18 thoughts on “How does Autodiscover Service works in Exchange”
        1. That’s right. Your domain name has been mentioned in the technet article. By the way its social technet website.

  1. Hi RK, can you share the path where we can see the SCP created in active directory ? if its big infra SCP will create all DC server ?

  2. Just what I needed — a diagram and everything! Thank you so much for your careful explanation “for dummies” like me, a tech writer tasked with writing something technical that involves Autodiscover but with no guidance about said service. You nailed it.

  3. Hi Govindan,

    i have one query, while installing exchange given domain details are “” and local domain is (AD Installed) it was working fine after some time i have change my email -id to, what and all changes needs to be done to work autodiscover

  4. This is what I was looking for , thanks for sharing, do u have something similarly for how ews query works in Exchange

  5. I have gone through most of the articles which you have posted. Really it is easy to understand the concept and explanation is awesome too.

  6. HI Radhakrishan,

    Could you send a document to configure Autodiscover, for exch 2013.
    and what are the requirements for publishing it.

Leave a Reply to eldo Cancel reply

Your email address will not be published. Required fields are marked *