Link to home
Start Free TrialLog in
Avatar of tigerffs
tigerffsFlag for Afghanistan

asked on

Exchange 2010 Autodiscovery url wrong on external use

Hello.
I have a wierd problem with my Exchange setup.

It started with users having problem using the Out Of Office function in outlook. I could use it without problem when located inside the domain but external users cant!

When I check the Autodiscovery url from an internal account (inside the domain) it shows up correct;
https://mail.domain.com/autodiscover/autodiscover.xml

But when I check Test email AutoConfiguration from an external outlook it gives me
https://domain.com/autodiscover/autodiscover.xml

PS gives me this :
[PS] C:\Windows\system32>Get-ClientAccessServer | Select Name, *Internal* | fl


Name                           : EMAIL
AutoDiscoverServiceInternalUri : https://mail.domain.com/autodiscover/autodiscover.xml

Open in new window


Anyone got a suggestion?
Avatar of tigerffs
tigerffs
Flag of Afghanistan image

ASKER

Also, when I check the external URL in PS it gives me
[PS] C:\Windows\system32>get-webservicesvirtualdirectory | FL ExternalURL


ExternalUrl : https://OLDSERVER.domain.com/ews/exchange.asmx

Open in new window


It is pointing to the old exchange 2003 server, could this be the issue?


EDIT: I did set the externalURL to the correct one, it does not help me with the AutoDiscovery though
ASKER CERTIFIED SOLUTION
Avatar of M A
M A
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Change the external URL to

ExternalUrl : https://externalname.domain.com/ews/exchange.asmx
Really I just want to change the URL for autodiscovery for external use of outlook, pointing a fault adress seems like an shortcut.
abbasiftt:
I did that but it had no impact on the problem :(
Where does outlook get this AutoDiscovery link from? I need to be able to change it somewhere, but where!? For internal use = OK
External use = NOK
Create an "A" record in your public DNS called autodiscover and point it to your firewall with public IP. Get the firewall to forward 443 port traffic to this IP to your CAS server.

There is no setting for this. Outlook looks up the autodiscover record in the email domain of yours. So, if your email is user@domain.com, Outlook checks to find https://autodiscover.domain.com/autodiscover/autodiscover.xml

All you need to do is setup record in public DNS and route it to CAS.