?

Autodiscovery returning wrong server address from external LAN

Posted on 2017-12-07
10
Low Priority
?
41 Views
Last Modified: 2017-12-16
hi,
as you can see from the question title, Autodiscovery returning wrong server address (mydomain.com instead of mail.mydomain.com) from outside the network, the autodiscovery works fine from the LAN.

everything works fine but this issue,
I can make manual configuration for outlook 2010 and 2013 and also it works fine, but as you know, there is no way to configure outlook manually in exchange 2016,

microsoft test connivity analyzer (outlook autodiscover) pass successfully with no issue or warning, but still cannot configure outlook to connect from outside the organization by using autodiscovery.

any suggestion?
0
Comment
Question by:mohammad naji
  • 4
  • 3
  • 3
10 Comments
 
LVL 12

Expert Comment

by:Jose [MCSE] Ortega C
ID: 42395280
Autodiscovery works in 4 steps. (domain.com, autodiscover.domain.com, HTTP, redirect to o365).
You are stuck in step 1 (domain.com)

it is answering the domain.com because you put the "domain.com" to the exchange server instead of the web server
it's answering: "https://domain.com/autodiscover/autodiscover.xml"
TRy it in a browser you will get a prompt.


You need to remove the "domain.com" or @ record in public DNS from the exchange server to a web or remove it completely
0
 

Author Comment

by:mohammad naji
ID: 42395287
thanks for your reply jose,
when triyng https://domain.com/autodiscover/autodiscover.xml then the web page appear this message " autodiscovery must be provided a valid email address"

when trying https://mail.mydomain.com/autodiscover/autodiscover.xml the page asks me for credential ( username and password) and when i provide the credential, this message appear in the web page:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
<Response>
<Error Time="13:20:35.2510050" Id="2655621797">
<ErrorCode>600</ErrorCode>
<Message>Invalid Request</Message>
<DebugData/>
</Error>
</Response>
</Autodiscover>
0
 
LVL 26

Expert Comment

by:Tom Cieslik
ID: 42395395
I don't think that this is an error
I have same situation and my autodiscover working like hell
No problem with any Outlook version configuration
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
LVL 12

Expert Comment

by:Jose [MCSE] Ortega C
ID: 42395862
It's normal when you use a browser to have issues because of the kind of authentication in the IIS site.

Now, can you post the screenshot (hiding the actual domain in it) showing what you got when you visit https://domain.com/autodiscover/autodiscover.xml" ?
0
 

Author Comment

by:mohammad naji
the result of https:\\domain.com/autodiscover/autodiscover.xml is:
"autodiscovery must be provided a valid email address"

and the result of https:\\mail.domain.com/autodiscover/autodiscover.xml is:
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
<Response>
<Error Time="13:25:13.4499732" Id="2655621797">
<ErrorCode>600</ErrorCode>
<Message>Invalid Request</Message>
<DebugData/>
</Error>
</Response>
</Autodiscover>
0
 

Author Comment

by:mohammad naji
remote connectivity analyzer screenshot1remote connectivity analyzer screenshot2
0
 
LVL 26

Expert Comment

by:Tom Cieslik
Did you try use www.testexchangeconnectivity.com 
to analyze your autodiscover responce ?
My autodiscover is working OK and I have same error 600, but this error I believe is showing up because there is no valid certificate for domain.com
My certificate is issued to

emailserver.domain.com
and
autodiscover.domain.com

but NOT to single domain.com
and I think this is OK because I don't need certificate for only domain.com name.

Please do analyze and If you'll find same result then you should be OK and you can ignore this error.
0
 

Author Comment

by:mohammad naji
the result of testing exchange connectivity is shown on my last comment, the exchange connectivity is ok with no issue nor warning, but still cannot configure autodiscover from outside the organization
0
 
LVL 26

Expert Comment

by:Tom Cieslik
Can you please post your External DNS A records, MX and SPF ?
0
 
LVL 12

Expert Comment

by:Jose [MCSE] Ortega C
Looks like it's working for the "domain.com" instead of the autodiscover.domain.com.
You need to double check the Public DNS, and correct the A record from host  @  to have the IP of the WebSite (not exchange server) and
Add an (A record) for mail.domain.com to the IP of your exchange server, and finally create or modify autodiscover.domain.com  record to "mail.domain.com"  (if cname) or A record to the same IP of the mail.domain.com. I think that would fix the issue.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Join & Write a Comment

This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Stellar Exchange Toolkit: this 5 in 1 toolkit comes loaded with mega-software tool. Here’s an introduction to tools’ usage and advantages:
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

840 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