Outlook connecting to Office365 instead of on-premise Exchange server

GIC-AUA 11 Reputation points
2022-08-15T04:19:16.003+00:00

Hi

We have an on-premise Exchange server. The users are running Office 365 and up to a few days ago, Outlook was working fine and the users were connecting to their local Exchange mailboxes.

Now they are disconnected from their mailboxes and are getting a prompt to enter an account to reconnect to it. However, their domain account never gets accepted.

In the past if we created a new Outlook profile it would automatically find the Exchange mailbox and connect. However, now they get the prompt to enter the account to use autodiscover.xml.

231049-image.png

231038-image.png

Before this occurred, we did not change anything on the Exchange server or in the local Windows DNS Manager.

We have tried a number of troubleshooting steps but none have been successful.

We have even added to the registry path "HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover" the DWORD (32-bit)Value with the name ExcludeExplicitO365EndPoint and gave it the value 1.

What could be causing this behaviour?

Regards,

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,349 questions
{count} votes

9 answers

Sort by: Most helpful
  1. GIC-AUA 11 Reputation points
    2022-08-19T13:48:04.127+00:00

    Hello Aholic Liang-MSFT

    Thanks for your assistance.

    All mailboxes are on-premises and we are not able to create new profiles because it seems as if there i a problem with the autodiscover.

    I tried the ExRCA and it does not connect to the Exchange server using autodicover.

    I tried setting both registry keys and it made no difference.

    Regards,


  2. GIC-AUA 11 Reputation points
    2022-08-22T19:33:24.98+00:00

    Hi AholicLiang-MSFT

    When I run the Microsoft Remote Connectivity Analyzer, I enter the information as follows:

    233735-image.png

    The results are as follows:

    233764-image.png

    I notice in the results, the host is returned as domain.com but I think it should be <mail_server_computer_name>.domain_name.local.

    On the internal network Outlook Web App works with domain.local but not domain.com and we need to specify the computer name of the mail server.

    233706-image.png

    I hope the information provided sheds some light on what could be causing the problem.

    Regards,

    0 comments No comments

  3. GIC-AUA 11 Reputation points
    2022-08-23T12:18:48.377+00:00

    Hi AholicLiang-MSFT

    Yes. There is an external website hosted with domain.com.

    On the client computer, I added the DWORD ExcludeHttpsRootDomain and set its value to 1.

    When I try to create the Outlook profile, I get the following pop-up:

    234312-234113-image.png

    In the server field it has the external domain and in the username it the the email address.

    I restarted the client computer just to see if it was necessary after changing the registry, but it made no difference.

    Regards,


  4. GIC-AUA 11 Reputation points
    2022-09-23T18:02:21.503+00:00

    Hi

    I'm still having issues. Did you see my last post?

    Regards,


  5. Phil Wize 0 Reputation points
    2023-10-18T14:21:17.56+00:00

    Are there any news related to the problem?
    I have the exact same setup and therefore the same problem.