Hybrid Exchange - Outlook Password prompt if not in VPN or LAN

A Ska 241 Reputation points
2022-12-01T11:01:31.74+00:00

Dears

We have an on-premise Exchange 2016 environment with Microsoft hybridation (AD connect services are ok).
After hybridation our users (all with on-premise mailboxes) noticed that when opening Outlook from home (nor in VPN neither in LAN), Outlook asks them to put the password.
We're using, in my case, Office 2021 but the problem occurs with 2019 too.
I verified lots of thing but there's n way to get out of this issue.
Already trying updating clients, clearing credentials cache, still same issue.
Thank in advance

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,185 questions
Exchange | Exchange Server | Management
Exchange | Hybrid management
{count} votes

3 answers

Sort by: Most helpful
  1. Andy David - MVP 157.8K Reputation points MVP Volunteer Moderator
    2022-12-01T12:45:18.763+00:00

    Most likely its the direct connect feature in outlook which is assuming you have a mailbox in Exchange Online.
    https://learn.microsoft.com/en-us/outlook/troubleshoot/profiles-and-accounts/unexpected-autodiscover-behavior

    This article shows how to change that behavior:
    Test it out and see with a few clients:
    https://medium.com/jj365/outlook-issue-with-direct-connect-to-office365-352dd29de65

    0 comments No comments

  2. A Ska 241 Reputation points
    2022-12-01T14:04:11.977+00:00

    Dear @Andy David - MVP

    I tried Resolution 1 with no luck.
    Do I have to try with Resolution 2?
    Disable MAPI using Exchange Online Powershell

    Based on this article I noticed that on my MSOnline I miss the first link

    PS C:\> Get-MsolServicePrincipal -AppPrincipalId 00000002-0000-0ff1-ce00-000000000000 | select -ExpandProperty ServicePrincipalNames

    https://autodiscover.exoip.com/
    https://mail.exoip.com/
    00000002-0000-0ff1-ce00-000000000000/mail.exoip.com
    00000002-0000-0ff1-ce00-000000000000/autodiscover.M365x877334.mail.onmicrosoft.com
    00000002-0000-0ff1-ce00-000000000000/M365x877334.mail.onmicrosoft.com
    00000002-0000-0ff1-ce00-000000000000/autodiscover.exoip.com
    00000002-0000-0ff1-ce00-000000000000/exoip.com
    00000002-0000-0ff1-ce00-000000000000/autodiscover.exoip.local
    00000002-0000-0ff1-ce00-000000000000/exoip.local
    00000002-0000-0ff1-ce00-000000000000/outlook.office365.com
    00000002-0000-0ff1-ce00-000000000000/mail.office365.com
    00000002-0000-0ff1-ce00-000000000000/outlook.com
    00000002-0000-0ff1-ce00-000000000000/*.outlook.com
    00000002-0000-0ff1-ce00-000000000000
    https://ps.compliance.protection.outlook.com
    https://outlook-sdf.office.com/
    https://outlook-sdf.office365.com/
    https://outlook.office365.com:443/
    https://outlook.office.com/
    https://outlook.office365.com/
    https://outlook.com/
    https://ps.protection.outlook.com/
    https://outlook-tdf.office.com/
    https://outlook-tdf-2.office.com/
    https://ps.outlook.com

    Is it needed? Al the others are the same.

    Thank you

    0 comments No comments

  3. A Ska 241 Reputation points
    2022-12-05T10:44:41.953+00:00

    Update

    I added the first entry to the MSOl Exchange but the result is the same, Outlook keeps asking password

    Any suggestion?

    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.