Migrating from local server to exchange online

Eduards 771 Reputation points


We recently migrated users from local server to exchange online.

And after that one user can't connect to Outlook and Team after migrating.


This only one error that i founded in MS teams logs.

I tried to switch network adapter offline and than online, it's fixed the problem but after some time user can't connect to the outlook again.

user in outlook are showing "Need Password" and they can't connect, after some time they can connect.

Event viewer no showing anything..

When i can't connect to outlook on computer i can connect using OWA.

Thinking of adding - [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity] and "DisableADALatopWAMOverride"=dword:00000001

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

Accepted answer
  1. Joyce Shen - MSFT 16,626 Reputation points

    Hi @Eduards , what's your on-premise server version and are you using Exchange hybrid?

    According to your information, does the issue only occurs on one user?
    If the account can login to OWA successfully, the issue maybe related to autodiscover. Have you tried creating a new outlook profile for that user?

    We can also use the ExRCA tool to help check the issue through this link: Outlook Connectivity

    You could also refer to the method introduced below if your scenario mathches with it:
    Outlook prompts for password after migration to Office 365

    If you are not using the latest version of Outlook, Outlook doesn’t use Modern Authentication to connect to Office 365.
    Go to the path HKEY_CURRENT_USER\Software\Microsoft\Exchange. Add a new DWORD (32-bit) Value. Add the name AlwaysUseMSOAuthForAutoDiscover with the value data 1.

    If an Answer is helpful, please click "Accept Answer" and upvote it.

    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.

1 additional answer

Sort by: Most helpful
  1. Sakibur Rahman 1 Reputation point

    Set remote routing address to <tenant>.mail.onmicrosoft.com from email address section of ECP

    0 comments No comments