Solved

Exchange 2013 autodiscover returns internal hostname

Posted on 2013-12-05
1
2,127 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
1 Comment
 
LVL 1

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Read this checklist to learn more about the 15 things you should never include in an email signature.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
To show how to generate a certificate request 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 >> Certificates…

919 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now