How to Fix Outlook Repeatedly Prompting for Credentials with Exchange and Microsoft 365
Question details
The user is experiencing repeated password or credential prompts in Outlook when operating in an environment utilizing both hosted or on-premises Exchange and Microsoft 365.

- Product
- Microsoft Outlook
- Device & OS
- not provided
- Scenario
- Using Outlook connected to hosted or on-premises Exchange alongside a Microsoft 365 tenant.
- Observed behavior
- Outlook continuously asks the user for their login credentials, disrupting workflow. The issue is likely tied to Autodiscover conflicts or misconfigured authentication settings.
Ensure you have administrator access to both your Exchange admin center and Microsoft 365 admin portal to verify authentication protocols and Autodiscover records.
Enable Modern Authentication for Microsoft 365
Modern Authentication provides a more secure login experience and prevents legacy credential loops when connecting to Exchange Online.
If your environment includes Exchange Online, legacy authentication methods may trigger repeated password prompts. Enabling Modern Authentication resolves this for most users.
Log in to the Microsoft 365 Admin Center using your administrator credentials.
Go to Settings, then click on Org Settings in the left-hand navigation pane.
Select Modern Authentication from the list of services and ensure the checkbox to turn on Modern Authentication is ticked. Save your changes.

Verify and Update Autodiscover Records
Ensuring your Autodiscover DNS records point to the correct Exchange server prevents Outlook from improperly querying Microsoft 365.
Exclude Microsoft 365 Endpoints via Registry
If users strictly use hosted Exchange and not Exchange Online, you can force Outlook to bypass Microsoft 365 endpoints.
Switch to WPS Office for a Seamless Document Experience
While resolving complex Outlook and Exchange server configurations, you can avoid Office authentication headaches for your daily document tasks by using WPS Office. It is a free, lightweight suite that handles your Word, Excel, and PowerPoint files natively.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package.
- 2. Install the Software: Run the installer and follow the on-screen instructions to set up WPS Office on your device.
- 3. Open Your Office Files: Launch WPS Office and seamlessly open your existing Word, Excel, or PowerPoint documents without configuration loops.

Frequently Asked Questions
Why does Outlook ignore the 'Remember my credentials' checkbox?
This usually happens when there is a conflict between on-premises Exchange Autodiscover and Microsoft 365, causing Outlook to constantly request new authentication tokens despite the box being checked.
What is Autodiscover in Outlook?
Autodiscover is a service that automatically configures a user's profile in Outlook by finding the correct Exchange server settings using just their email address and password.
Will excluding Microsoft 365 endpoints affect other Office applications?
No, adding the 'ExcludeExplicitO365Endpoint' registry key only affects how Outlook searches for mailbox configurations. It will not disrupt Word, Excel, or PowerPoint cloud features.
How can I test if my Autodiscover is pointing to the correct server?
You can use the Microsoft Remote Connectivity Analyzer tool online. Run the 'Outlook Autodiscover' test and review the diagnostic results to see if the traffic is incorrectly routing to Microsoft 365.




