Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Exchange 2013 autodiscover returns internal hostname

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

There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

596 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