Exchange Account requires Microsoft login

Marco_MP1 6 Reputation points
2022-08-03T08:55:08.817+00:00

Hi,

I've already asked this question in the German forum, but they pointed me to this Q&A forum. So I'll try to translate my question as good a possible.

I added my Microsoft 365 business account to my local windows account. I got Outlook with 4 Accounts. The main account is my 365 business account. The other 3 accounts are exchange accounts on 2 different servers.

Now I got the issue that with 2 of those account Outlook always askes me to login into Microsoft, but those accounts do not have a Microsoft account. If I close the window sending an receiving mails works. However shortly after that Outlook asks again to sign into Microsoft, and stops sending/receiving mails for those 2 accounts until I close the prompts again. Here is a screenshot of the prompt.

abd56658-a361-4ecb-86f3-03a5ccd79dcd

Does anyone has a solution for me how I have to configure outlook or those accounts not not be asked to log into Microsoft anymore?

Thanks in advance,
Marco

EDIT: The info about the accounts working was from yesterday. Today I cannot send or receive emails anymore. Outlook always tries to get emails from Microsoft instead of the actual Exchange server.

SOLUTION

Because I cannot accept my own answer as solution I'll add it here. Thanks to the blog post of Jaap Wesselius I now understood that the change in the registry works and why. He refers to the Microsoft support site on:https://learn.microsoft.com/en-US/outlook/troubleshoot/profiles-and-accounts/unexpected-autodiscover-behavior

If you add the ExcludeExplicitO365Endpoint DWORD under the HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover subkey and give it a value of “1”, the Outlook client will skip the Office 365 endpoint check and continue with the regular Autodiscover process.

The bad thing for me is that all users that experience this issue have to manually change theit registry using a .reg file. But well, at least it is a working solution.

Marco

Exchange | Exchange Server | Management
{count} vote

4 answers

Sort by: Most helpful
  1. Aholic Liang-MSFT 13,886 Reputation points Microsoft External Staff
    2022-08-04T04:04:53.963+00:00

    Hi @Marco_MP1 ,
    May I ask how long after configuring the email profile did this issue occur?
    Please login to your Exchange account use OWA to see if the issue persists.

    If it possible ,please recreate the email profile and choose Exchange when you add Exchange on-perm account and then see if it works.

    227924-2022-8-4-1.png

    If none of the above suggestions are valid , I would suggest you may use the Test-Email AutoConfiguration feature of Outlook to check autodiscover process .

    About the detailed steps of “Test-Email AutoConfiguration” , please refer to the following link :
    https://answers.microsoft.com/en-us/msoffice/forum/all/mailboxes-test-e-mail-autoconfiguration/19f9c90a-4640-46c4-a574-dbec29bdb8ba
    Please post the results under the "Log" tag without the Use Guessmart check box and the Secure Guessmart Authenticaton check box. (Don't forget to hide your personal information .)


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Amit Singh 5,306 Reputation points
    2022-08-04T10:51:24.607+00:00

    Open your Outlook and Click on File. Go to Account Settings and choose an Exchange account. Now click Change. In the More Settings and Security tab, you have to uncheck the "Always prompt for logon credentials" checkbox. Here you can find more details on your request.


  3. Marco_MP1 6 Reputation points
    2022-08-09T08:43:06.867+00:00

    Hello,

    thanks to the blog post of Jaap Wesselius I now understood that the change in the registry works and why. He refers to the Microsoft support site on:https://learn.microsoft.com/en-US/outlook/troubleshoot/profiles-and-accounts/unexpected-autodiscover-behavior

    If you add the ExcludeExplicitO365Endpoint DWORD under the HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover subkey and give it a value of “1”, the Outlook client will skip the Office 365 endpoint check and continue with the regular Autodiscover process.

    The bad thing for me is that all users that experience this issue have to manually change theit registry using a .reg file. But well, at least it is a working solution.

    Marco

    0 comments No comments

  4. Thomas Vesque 0 Reputation points
    2023-08-08T19:52:42.92+00:00

    8/8/2023,

    The funny thing to me is that it still seems to try to "auto-login" later.

    I had to add a second key...

    If you add the ExcludeExplicitO365Endpoint DWORD under the HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover subkey and give it a value of “1”, the Outlook client will skip the Office 365 endpoint check and continue with the regular Autodiscover process.

    but also in HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\16.0\Outlook\AutoDiscover, and then add the same key as above.

    I hope this helps others.

    -TomV

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.