Exch 2007 Outlook Anywhere fails to connect

Posted on 2013-09-05
Medium Priority
Last Modified: 2013-09-18
We have a client with Exch 2007 where we have installed the UCC (we have done this for many clients, OA/autodiscover works) and we cannot get outlook anywhere to connect via autodiscover or manually configured. External DNS is correct with A autodiscover.client.com. We believe the problem is that their www record is at their vendor's webserver and testexchangeconnectivity FINDS an autodiscover xml at that site. That then fails on a Cert name mis-match.
On the second step (autodiscover.client.com), testexchcon DOES find our valid 2007 cert and all passes.
We do not think OL gets past the first cert name mismatch to our good cert.
We even tried removing the DNS A record autodiscover.client.com and adding the srv record, but thats checked last and we think autodiscover stops on first step. Any way to bypass the first check on domain.com or other ideas?
Question by:garf133
  • 5
  • 4
LVL 27

Expert Comment

ID: 39475928
yipes. so the website has an autodiscover location and xml file? Assuming the root domain record points to the website this is a big problem.

As long as the root domain responds to autodiscover requests you're not going to find a way around it. That comes above the other options in the list of autodiscover attempts so you'll have no choice but to look into it.

does the website serve https? does it have an autodiscover folder?

Author Comment

ID: 39476270
Yes, thats the problem, the vendor that hosts our client's website does have THEIR ssl and ExRCA sees that first and my clients Exch ssl second pass. We have contacted the vendor to see if they can do a "workaround", not sure that that would be?
The website https://client.autodiscover.com returns a 404 with file paths. We have no access to the site itself except through the vendor that hosts it.
LVL 27

Expert Comment

ID: 39476751
Probably worth confirming to make sure, but it sounds like you may be a bit stuck.

edit the hosts file on a client PC to override the public DNS, as shown below. Try the autodiscover again and see if it works. (remember to put the hosts file back as it was when you're done...)

# Copyright (c) 1993-2009 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
#     rhino.acme.com          # source server
#     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#       localhost
#	::1             localhost       yourdomain.com       autodiscover.yourdomain.com

Open in new window

Add the root of your domain to override the public address pointing to your website.
replace with the external IP of your own mail server.

If you try this and it works then you have confirmed that the public website is the cause of the problem.
If it still doesn't work you can now do further testing on this PC knowing the public website isn't the cause of failures.
Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!


Author Comment

ID: 39476893
Totallytonto: From their vendor: Public DNS chang, do you think this will work?

"The solution I can think of is they keep “www.domain.com” (A Record) pointing to the VIP “<vendor website ip>”.
They redirect “domain.com” (Parent A Record) to their own web server.
Then their webserver can refuse SSL port 8080 and redirect HTTP 80 traffic to “www.domain.com”.
This should get Outlook Anywhere to move to the next step."
LVL 27

Expert Comment

ID: 39479275
seems a bit of a faff, but it's worth a try.

Did you test it using the hosts file?

Author Comment

ID: 39479674
Yes, and it still fails. We are thinking we will leave the autodiscover.domain.com A record and change the partent domain.com to their Exch outside ip.

We also think the paragraph should have been 443 not 8080 and web server should read Exch server?
LVL 27

Expert Comment

ID: 39479804
if it fails with the hosts file amendments it suggests the website isn't the problem.

We also think the paragraph should have been 443 not 8080 and web server should read Exch server?


Accepted Solution

garf133 earned 0 total points
ID: 39491291
Solved:  We hired Third Tier and together we solved the Outlook Anywhere by removing the Network Solutions DNS @ (name) record that was pointing to the vendors IP.
We solved the internal users getting an Outlook .local cert error by these PS commands:
We fixed the internal cert issue by setting the virtual directories to the following

Set-ClientAccessServer -Identity CAS1-AutodiscoverServiceInternalUri https://webmail.mycompany.com/autodiscover/autodiscover.xml

Set-WebServicesVirtualDirectory -Identity “CAS1\EWS (Default Web Site)” -InternalUrl https://webmail.mycompany.com/ews/exchange.asmx 

Set-WebServicesVirtualDirectory -Identity “CAS1\EWS (Default Web Site)” -InternalNLBBypassUrl https://webmail.mycompany.com/ews/exchange.asmx

Set-OABVirtualDirectory -Identity “CAS1\oab (Default Web Site)” -InternalUrl https://webmail.mycompany.com/oab

Set-UMVirtualDirectory -Identity “CAS1\unifiedmessaging (Default Web Site)” -InternalUrl https://webmail.mycompany.com/unifiedmessaging/service.

Author Closing Comment

ID: 39501982
Working with Third Tier was the answer, should have brought them in sooner.

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Check out the easy way to Export Thunderbird to MS Outlook. It can be done effectively by using manual method and if you are not much into coding then you can definitely try the third party tool for the conversion.
A method of moving multiple mailboxes (in bulk) to another database in an Exchange 2010/2013/2016 environment...
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Watch the video to know the simple way to remove or recover or reset lost or forgotten passwords of Outlook PST file. With Kernel Outlook Password Recovery tool such operation is very easy to perform. It is a freeware with limitation to use with 500…

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question