Avatar of saphico
 asked on

exchange 2010 autodiscover issue

Dear All,

We are in the middle of migrating on of our customers from an Exchange 2003 to an Exchange 2010 server.
This customer has a very particular situation to which i haven't found a solution yet.
Let me first explain the current situation.
This company has an exchange server situated in the UK and an Exchange environment in Belgium.
The primary exchange environment is the UK one, so ALL incoming emails are sent to an MX-record pointing to the UK server. To get the emails from Users that are in Belgium, on their exchange environment, there is a pop3 download engine that pulls all mails from their accounts in UK and putts them into their own exchange environment. Primary SMTP address is identical for BOTH the UK en Belgian environment (let me call this domain name: mail.com).

This situation has been working fine, as both sides were running an exchange 2003 environment that did NOT support autodisover records.

When we started the migration to Exchange 2010, upon connection of the first mailbox, we came up with the following issue. Outlook perfectly connects to the new Exchange2010 server, but keeps prompting for the autodiscover record.
The autodiscover record that is requested is autodiscover.mail.com, so in fact, this points to their UK server, as that domain name primarily is configured on the UK server.

Now is my question:
How do i get the client pc's to connect to the actual rpc over http address (for the Belgian organisation) in stead of going to the UK side?

Additional, but very important information:
We do NOT manage the UK server side, only the Belgian server side.....

Hope I've clearly stated my problem and hope to see a solution to my issue soon.

Kind regards,
ExchangeWindows Server 2008Active Directory

Avatar of undefined
Last Comment

8/22/2022 - Mon
Henk van Achterberg

IMHO disabling autodiscover at domain level (A record for autodisover.domain.com to and set it up manually.


what do you mean with IMHO?
what do you mean with the domain level? the actual domain name or the Active directory Domain?
Henk van Achterberg

In my humble opinion.

I mean disabling autodiscover at the (DNS) domain level (NOT AD domain). This way you will not be bothered by autodisover. the only hassle is that you have to set up everything manually.

If I was in such a situation I would use a country code as subdomain. Also why are you using POP3 while you can use a scoped sendconnector in exchange?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck

Henk van Achterberg

It is a solution, make sure there is no wildcard record present for *.domain.com otherwise autodiscover.domain.com will still resolve.

but yes, disabling autodiscover and entering settings manual is a way to solve your problem.
Simon Butler (Sembee)

I have to disagree about disabling Autodiscover to resolve this problem is the best solution. That is like saying my leg hurts so I will cut it off.

Autodiscover works in two ways.
If the clients are on the domain then it doesn't use DNS records for autodiscover.example.com, it will use a value that is published to the domain by the Exchange servers. This value is AD site specific.
You would only get a prompt for autodiscover.example.com if the Outlook client is unable to get the domain information, or the client is NOT a member of the domain.

Therefore the first thing to check is that AD Sites and Services is setup correctly. If you ahve two physical locations then you should have two AD sites.
Each site should have a server with the Client Access Server role.
If you run

get-clientaccessserver | select Server, AutodiscoverServiceInternalURI

then you will see the URL that the clients will try and reference. That URL MUST be on the SSL certificate on the CAS role server. If it is not, then things start to fail.

Therefore your problems are probably just down to the configuration of the platform being incomplete.

Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

i can confirm that disabling the autodiscover does NOT solve my issue.
This automatically also disables functions as out of office reply.

However, Simon, i do have a correct client-accessserver configuration.
I have an active ssl certificate on the OWA and the autdiscover internal uri is configured correctly.
Henk van Achterberg

the problem is that you have mailboxes on two different servers while from the outside it looks like you have one server.

so to make this work you should rethink the architecture of your mail solution.
Simon Butler (Sembee)

Having mulitple mailboxes on multiple sites isn't a problem. Exchange is designed to work in that way. Autodiscover isn't difficult to setup, it just needs to be done with care.

On to the original question, going back to basics.

1. Do you have a seperate name space for each location? Is the name space exposed to the internet?
2. Are you getting errors on internal or external clients?

You have said that you have a correct Client Acecss Server configuration, but haven't actually said what it is. Therefore how do we know it is correct?

This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.

I have only 1 smtp namespace configured on both locations, but i do have a second namespace for the belgian office to which users can connect.

i've been using this site to troubleshoot the configuration:

Microsoft ActiveSync works
and ALSO
Rpc over http works

The only error we get, inside AND outside, is that outlook is trying to connect to autodiscover.smtpdomain.com
Simon Butler (Sembee)

It wasn't really SMTP name space that I was referring to, but HTTPS services.
Ideally you should have a unique host name for each location.

I have just completed a design and build of a 15 location Exchange 2010 platform. For that I used country code.
So in each site it was host.xx.example.com, where xx was the country (so host.uk.example.com, host.fr.example.com).

"host" was the same name both internally and externally, for that client we used webmail.
The host name was also set as the AutodiscoverServiceInternalURI value.

Test Exchange Connectivity only tests external hosts, it doesn't help with internal. There is a BETA tool available which can do some tests. You can also do it with Outlook.

Outlook will connect to autodiscover.example.com when external, and will do so at frequent intervals. You either have to ensure that autodiscover.example.com resolves to a public facing Exchange server, or ensure that it doesn't resolve at all, and use SRV records instead. Autodiscover is NOT an optional feature.

Internally, there should be nAutodiscover autodiscover unless the value you have set on the Client AccessAutodiscover autodiscover is incorrect,Autodiscoverg autdiscover. Again this should be an internal URL that resolves to the host in that country so that clients are not going across site for Autodiscover and availabilityly availabity services.

There is nothing unusual about the configuration that you have outlined, all standard stuff when multiple sites are involved.


Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

autodiscover problem is no longer an issue as the customer has chosen another mail solution.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.