Solved

Exchange 2013 autodiscover returns internal hostname

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

Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
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 …
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

772 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

10 Experts available now in Live!

Get 1:1 Help Now