ARR autodiscover issue

Mikhail Firsov 1,876 Reputation points
2020-11-10T14:49:43.777+00:00

Hello,

One more question on ARR, please: my ARR works perfect in proxying OWA connections but yesterday I tried to connect to my Exchange using Outlook Anywhere and failed. The Autodiscover rules have been created automatically by the ARR setup and the monitoring test displays OK:
38825-03.png

For testing purposes I tried to access the same page - https://autodiscover..../Autodiscover/HealthCheck.htm - from internet and I got the 404 error (the https://mail.domain.../owa works ok). I then tried to make the three consecutive (external) connections to autodiscover.mydomain.com (via ARR) and see what the IISlog records would reveal:

1) I run Outlook - it fails, the connection is logged
2) I connect to https://autodiscover..../Autodiscover/HealthCheck.htm - erro, this connection never logged!
3) I connect to https://mail.domain.../owa - connects ok, logged.

38852-05.png

38785-08.png

Would anyone please explain to me

1) why does Outlook tries to connect using port 80 and not 443?
2) why does the connection to https://autodiscover..../Autodiscover/HealthCheck.htm never get logged?

And is there any other documentation on ARR except this?

The rules:
38855-10.png

Seems ARR does not see any connection attempts to autodiscover.domain.com site:
38843-02.png

Thank you in advance,
Michael

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,166 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,335 questions
{count} votes

7 additional answers

Sort by: Most helpful
  1. Mikhail Firsov 1,876 Reputation points
    2020-11-11T09:48:04.647+00:00

    Hi KaelYao-MSFT,

    "Have you tried the Test E-mail AutoConfiguration feature of Outlook client and the EXRCA tool to test autodiscover?" - no, I can't use them as my Exchange is located in the network wich has not public dns records (the research network), for testing external access I'm using the hosts files. But if I turn off ARR the external connection to https://autodiscover..../Autodiscover/HealthCheck.htm works correctly. Thank you for the article - will be reading now.

    ARR 3.0.

    0 comments No comments

  2. Mikhail Firsov 1,876 Reputation points
    2020-11-12T13:36:58.69+00:00

    Please excuse me for asking on autodiscover instead of ARR but that's solely for the purpose of not creating another thread.
    I disabled ARR and added the simple port forwarding to test the autodiscovery:
    39335-30.png

    My goal was to see whether my Outlook does really try to connect to the EXCH1's Autodiscover virtual directory or not.
    Here are the results:

    1) I manually connect to https://autodiscover.mydomain/Autodiscover/Autodiscover.xml
    39320-25.png

    2) Although it's clear that I have connected to the Autodiscover virtual directory I make sure the new incoming port mapping has been added in RRAS:
    39354-28-1.png

    3) On the same workstation (NOT domain-joined!) I run Outlook and manually type my email:
    39329-24.png

    4) After ~20 second the process ends with this window:
    39336-27.png

    5) Back to the mappings - no incoming mapping appears...

    ...so as far as I understand it Outlook does not even try to connect to my autodiscover.mydomain/Autodiscover and does not throw any warning or error windows. But when ARR is running I at least see the connection attempts in the ARR's log ... ??? Now I am a bit at loss here - what else can I do in this situation?

    Thank you in advance,
    Michael

    0 comments No comments

  3. Mikhail Firsov 1,876 Reputation points
    2020-11-12T13:42:07.42+00:00

    P.S. Both mail.mydomain.com and autodiscover.mydomain.com resolve correctly by means of hosts files.


  4. Mikhail Firsov 1,876 Reputation points
    2020-11-13T10:28:56.813+00:00

    Hi KaelYao-MSFT,

    Hmm, but doesn't the "Test E-mail Autoconfiguration" feature gets available by clicking on the Outlook item only AFTER Outlook has previously managed to connect using autodiscover? As I can't connect using the "Exchange" option I've created the IMAP profile, but there's no "Test E-mail Autoconfiguration" option for Outlook item in this case :(
    I