?
Solved

Exchange 2013 autodiscover returns internal hostname

Posted on 2013-12-05
1
Medium Priority
?
2,351 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
This video discusses moving either the default database or any database to a new volume.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

765 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