in outlook 2007 through outlook 2010 all domain-joined outlook clients would initially query active directory for autodiscover information and ultimately find a service connection point (scp) value that would point them to their nearest client access server’s autodiscover virtual directory. if that failed then they would revert to using dns like any non-domain-joined outlook client.
by default, outlook uses one or more of these methods to reach the autodiscover service. for example, for a computer that is not joined to a domain, outlook tries to connect to the predefined urls (for example, https://autodiscover.contoso.com/autodiscover/autodiscover.xml) by using dns. if that fails, outlook tries the http redirect method. if that does not work, outlook tries to use the srv record lookup method. if all lookup methods fail, outlook cannot obtain “outlook anywhere” configuration and url settings.
why it ever looked to https://company.com/autodiscover/autodiscover.xml i’ll never really know because honestly i’ve never come across a customer who had it deployed that way; most have https://autodiscover.company.com/autodiscover/autodiscover.xml but i imagine when exchange 2007 was first being developed they weren’t exactly sure how customers would be implementing autodiscover.
the above methods have served us well since exchange 2007 timeframe but for some reason the outlook team decided to try and implement some giddyup into outlook and try to speed up the process. they decided to have domain-joined outlook 2013 clients query both the scp values in ad as well as the dns records at the same time. if an scp record was found it would still be used but in the event it failed then it would already have the dns response ready to go. great idea, however there’s one problem in the implementation.
if outlook 2013 encounters any kind of certificate error while doing the simultaneous dns query then you will receive a pop-up in outlook about the cert.
i actually stumbled upon this while in the middle of the scenario below:
i actually get a certificate pop-up for my lab’s domain name (ash15.com) and not autodiscover.ash15.com like one would expect if i were to have a certificate issue on exchange.
when outlook 2013 does its simultaneous dns autodiscover query, the first url it tries is https://company.com/autodiscover/autodiscover.xml, which in the lab environment resolved to the dc, which was also serving dns, as well as a ca. ash15.com resolved to this server because it’s my internal ad name and the name server entry resolves to my dc (just ping internaldomainname.local in your ad lab environment and you’ll see the same).
now because i have web enrollment enabled and am listening on 443 in iis the server responded. also, because i did not have a cert installed on the server with ash15.com in the subject or subject alternative name then it gave the certificate error we see above.
the error is easy enough to get through and it only occurred on initial profile creation but this can definitely prove painful for some customers. obviously my lab environment is a corner case but there have been several other customers report this issue with outlook 2013 as well.
imagine you have a public website for andrewswidgets.com hosted by a third-party hosting site and you did not pay for https/443 services. however if you were to query the website using https then it could respond and obviously not return a certificate with andrewswidgets.com on it (because you haven’t paid for it you cheapskate…). now imagine you begin deploying users using outlook 2013 in your internal environment. in the past, they would have found the scp record that would have pointed them to your internal exchange 07/10/13 server for autodiscover and would have been happy as a clam (one exchange product manager’s favorite way to describe exchange bliss). however, now they may get a certificate pop-up for andrewswidgets.com when creating a new profile.
there are a couple ways around this. make sure andrewswidgets.com doesn’t listen on 443, or possibly get a proper cert on your website that is listening on 443. simply put, just make sure whatever andrewswidgets.com resolves to is something that’s not going to throw a certificate error.
i’ve heard nothing concrete or public but the outlook team is aware of the issue and listening to customer feedback. i suggest contacting microsoft support if your organization is running into this issue.
also, this ms kb offers methods to control which autodiscover methods are used by your outlook clients
when you're a little too careless about virtualizing your domain controllers, cloning, migrating, backing up and restoring, returning from vacation… Read More
systemd is new service manager for linux. it's a replacement for all previous init systems (sysv/sysvinit & ubuntu's upstart) and… Read More