Solved

Exchange 2013 autodiscover returns internal hostname

Posted on 2013-12-05
1
2,272 Views
Last Modified: 2013-12-05
Have just set up a new Exchange 2013 server and a DC in order to test and demo the product.  The only problem is that autodiscover returns the internal hostname rather than the external one.  TestExchangeConnectivity fails the Outlook Anywhere test with the following:

Autodiscover error
Of course, this should be returning the external URL.  All URLs are set in the Exchange admin  center to be the same for internal and external (remote.domain.com) with the required internal DNS entry on the DC/DNS server.  I have also set the internal URL using the command:

Set-ClientAccessServer -Identity DEMOEX -AutoDiscoverServiceInternalUri: https://remote.domain.com/Autodiscover/Autodiscover.xml

...to no effect.

Outlook clients can be set up manually and work fine, but later revert to the setting imposed by autodiscover.

How can I amend the autodiscover settings so it returns the external URL?

Thanks in advance!
0
Comment
Question by:David Haycox
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
David Haycox earned 0 total points
ID: 39698425
Found the solution, here it is for anyone else who needs it.  From the Exchange Shell:

Get-OutlookAnywhere

Open in new window

... gives you the details.  Comparing settings to a working Exchange 2013 box I came up with this command:

Set-OutlookAnywhere 'DEMOEX\Rpc (Default Web Site)' -ExternalHostname remote.domain.com -InternalHostname remote.domain.com -ExternalClientsRequireSsl $true -InternalClientsRequireSsl $true -ExternalClientAuthenticationMethod Negotiate -InternalClientAuthenticationMethod Negotiate

Open in new window

Then you have to restart IIS.  Sorted!

Check settings with:

Get-OutlookAnywhere
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

729 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