Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm unable to get the Autodiscover of Exchange 2010 working. Our email accounts are name@company .com and our AD is company .local

When I open Outlook 2010 and Ctrl + RMK on the icon and select 'Test E-mail AutoConfiguration' I see this:
Attempting URL https://exchange1.COMPANY.LOCAL/Autodiscover/Autodiscover.xml found through SCP
Autodiscover to https://exchange1.COMPANY.LOCAL/Autodiscover/Autodiscover.xml starting
GetLastError=12007; httpStatus=0.
Autodiscover to https://exchange1.COMPANY.LOCAL/Autodiscover/Autodiscover.xml Failed (0x800C8203)
Autodiscover to starting
GetLastError=12029; httpStatus=0
Autodiscover to Failed (0x800C8203)
Autodiscover to starting
GetLastError=12007; httpStatus=0.
Autodiscover to Failed (0x800C8203)
Local autodiscover for starting
Local autodiscover for Failed (0x8004010F)
Redirect check to starting
Srv Record lookup for Failed (0x80072EE7)
Srv Record lookup for starting
Srv Record lookup for Failed (0x8004010F)

If I go via my browser on a client pc to:


I see an XML reply (so I guess this is the autodiscover URL that should be used) (exchange1 is the servername.). This is what I see in my browser:

  <?xml version="1.0" encoding="utf-8" ?> 
- <Autodiscover xmlns="">
- <Response>
- <Error Time="15:21:30.8211336" Id="2980235674">
  <Message>Invalid Request</Message> 
  <DebugData /> 

When I try this: 

It ask for my username / password and if I enter them I see the same XML message. Now on my DC in the DNS Manager I have this:

- Forward Lookup Zones
--- dc
--- domains
--- gc
--- pdc
--- _msdcs
--- sites
--- _tcp   <---------
--- _udp
--- DomainDnsZones
--- ForestDnsZones

Under the COMPANY.LOCAL > _tcp I have added an SRV record:

_autodiscover    Service Location (SRV) [0][0][443]    static

Could anyone see what I'm missing or misconfigured?


1) Get-AutodiscoverVirtualDirectory

Gives me:

Name                                    Server                                  InternalUrl
----                                    ------                                  -----------
Autodiscover (Default Web Site)         EXCHANGE1

Looks like I need to set an InternalUrl also. Is this correct?:

Set-AutodiscoverVirtualDirectory -Identity 'Autodiscover (Default Web Site)' -InternalUrl '' 


in the DNS Manager, I only have an SRV _autodiscover Record in _tcp as said in this post. Is this enough? Or should I add an A record with these settings in 'Forward Lookup Zones > COMPANY.LOCAL'?:

Name: autodiscover
Type: Host (A)
Data: <ip of exchange>
share|improve this question
I've updated the post. is that update correctly? – juFo Jun 11 '13 at 15:25
When creating an A record, I also created the PTR record. Not sure if this is needed. Let's see if this works. – juFo Jun 12 '13 at 7:29
everything seems fine now :) – juFo Jun 12 '13 at 9:33
I've switched my comments to an "answer". If that didn't fix it and you figured it out yourself, please post your own answer and accept it. Thanks! – TheCleaner Jun 12 '13 at 13:00
up vote 2 down vote accepted

What about on the Exchange side...what are the internal/external URLs configured as? Do you have an A record in DNS for "" (or internally) and does your SSL cert have both names listed?

Set the internalURL and create an A record...both internally and externally (using if you want the clients to be able to autodiscover from outside too.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.