Dear @MJ Gowhar
Thank you for posting your question in the Microsoft Q&A forum. I understand that Outlook connects successfully at first but then repeatedly shows a Microsoft sign-in prompt, even after clearing credentials and reinstalling Office.
Based on your description, they are likely caused by a misconfiguration in how Outlook handles Modern Authentication (OAuth 2.0) tokens.
Even though users can initially connect and access their mailbox, Outlook may fail to retain the authentication token due to issues with Windows’ Web Account Manager (WAM), hybrid authentication conflicts, or incorrect Autodiscover behavior. This results in Outlook repeatedly requesting credentials.
To better assistance, could you please confirm following information:
- Are you using Classic Outlook or the New Outlook for Windows?
- Is the device Azure AD joined, Hybrid joined, or only domain joined?
- Do you have any Conditional Access policies applied?
- Is the device Intune-enrolled and compliant?
- Do you see any error codes in the sign-in prompt?
- Are you using third-party antivirus or endpoint security that could block Microsoft.AAD.BrokerPlugin?
- Does this happen on all devices or only specific ones?
- Have you recently enabled Token Protection or changed MFA settings?
In the meantime, I recommend these steps below:
1. Repair Windows Token Storage (WAM): Re-register the AAD Broker Plugin
Outlook relies on Windows’ Web Account Manager (WAM) to store authentication tokens. If WAM is broken or missing, Outlook cannot retain login tokens, causing repeated prompts.
- Open PowerShell as Administrator.
- Run the following command to re-register the AAD Broker Plugin: PowerShellGet-AppxPackage Microsoft.AAD.BrokerPlugin | Reset-AppxPackage Show more lines
- Restart the computer.
- Launch Outlook and sign in again.
This restores the token handling mechanism so Outlook can retain the login session.
2. Force Outlook to Use Correct Autodiscover Endpoint
In hybrid environments, Outlook may incorrectly try to authenticate against Office 365 instead of the on-prem Exchange server. This causes unnecessary Microsoft login prompts.
- Open Registry Editor (
regedit.exe). - Navigate to: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\AutoDiscover
- Add a new
DWORD (32-bit)value: ExcludeExplicitO365Endpoint - Set its value to
1. - Restart Outlook.
This forces Outlook to skip the Office 365 endpoint during Autodiscover, preventing the wrong login prompt.
3. Ensure Modern Authentication is Enabled
Outlook 2024 uses Modern Authentication (OAuth 2.0) by default. If the server or client isn’t configured to support it, login tokens won’t work properly.
On the Outlook Client:
- Open Registry Editor.
- Add or verify these keys:
HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity EnableADAL = 1 (DWORD) and HKEY_CURRENT_USER\Software\Microsoft\Exchange AlwaysUseMSOAuthForAutoDiscover = 1 (DWORD)
4. Review Conditional Access Policies
Azure AD Conditional Access policies may block Outlook desktop sign-ins or require additional authentication steps.
- Sign in to Microsoft Entra Admin Center.
- Navigate to Conditional Access.
- Review policies targeting:
- “All cloud apps”
- “Office 365” or “Exchange Online”
- Check for requirements like:
- MFA
- Compliant device
- App restrictions
Adjust policies to allow Outlook desktop clients or create exceptions if needed.
5. Use Classic Outlook (if applicable)
The New Outlook for Windows (preview) has limited support for hybrid and on-prem Exchange environments.
- Open Outlook.
- Toggle off “New Outlook” from the top-right corner (if available).
- If not available, uninstall New Outlook and reinstall the classic Outlook client from Microsoft 365 Apps.
- Launch classic Outlook and configure the account.
Classic Outlook supports full authentication flows and avoids the limitations of the preview client.
Please understand that our initial response does not always resolve the issue immediately. However, with your help and more detailed information, we can work together to find a solution.
I truly appreciate your patience and understanding. If you have any further questions or need further clarification, please feel free to reach out. I'm looking forward to hearing from you.
Thank you for your cooperation.
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.