For no reason at all, when everyone connects to exchange in outlook, a pop-up box appears asking them to enter their credentials?

yanhaowen 0 Reputation points
2025-08-11T09:46:08.8166667+00:00

We have three exchange 2016 cu23, namely ex01, ex02 and ex03. We have four databases, namely db01, db02, newdb01 and newdb02

db01 and db02 are mounted on ex01. The priority of ex01 is 1, that of ex02 is 2, and that of ex03 is 3

newdb01 and newdb02 mounted on ex02, with ex02 having a priority of 1, ex01 having a priority of 2, and ex03 having a priority of 3

At 9 a.m. today, all employees' outlook popped up a box asking them to enter their credentials. Even entering the password couldn't connect. After some time, outlook could connect to exchange normally again, but some people still had problems

I found all the databases on the ex03 ServiceDown, ex01 and ex02 newdb02 DisconnectedAndResynchronizing

After restarting the ex03 server, newdb02 shows mounted, and the remaining people who cannot connect can connect to exchange normally

  1. Why, for no reason, does a pop-up box appear asking everyone to enter their credentials when connecting to exchange in outlook?
  2. The priority of ex03 is 3. Why is newdb02 mounted on ex03

May I ask if you have any ideas? thank you

Exchange | Exchange Server | Management
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. TiNo-T 4,215 Reputation points Microsoft External Staff Moderator
    2025-08-11T12:46:39.68+00:00

    Dear @yanhaowen

    Thank you so much for contacting Microsoft Q&A Forum. 

    Based on your descriptions, I would like to provide a detailed explanation regarding the recent issue where Outlook prompted users to re-enter their credentials unexpectedly, and to clarify why the mailbox database newdb02 was mounted on server ex03, despite its lower activation preference. 

    1.Outlook credential prompts: 

    The widespread credential prompts were triggered by a temporary disruption in Outlook’s ability to connect to the Exchange server. This was not due to incorrect credentials, but rather a service-level issue within the Database Availability Group (DAG). Specifically: 

    • The Microsoft Exchange Replication service on server ex03 was down, causing all database copies on that server to report a ServiceDown status. 
    • Simultaneously, the copies of newdb02 on ex01 and ex02 entered a DisconnectedAndResynchronizing state, indicating they had lost connection during resynchronization—often due to transient network or infrastructure issues. 
    • As a result, Outlook clients lost their authenticated sessions with the Exchange server, prompting credential re-entry attempts. However, since the underlying issue was service unavailability, entering credentials did not resolve the problem until the affected server was restarted. 

    2.Why newdb02 mounted on ex03: 

    Although ex03 has the lowest activation preference (priority 3), it became the only viable candidate for mounting newdb02 due to the following: 

    • The higher-preference copies on ex01 and ex02 were unhealthy and ineligible for activation. 
    • After restarting ex03, its copy of newdb02 transitioned to a healthy state, making it the only mountable option. 
    • Exchange’s Best Copy Selection (BCS) algorithm prioritizes copy health, queue lengths, and content index status over activation preference. Activation preference is used only as a tiebreaker when multiple healthy copies are available. 

    This behavior is by design to ensure high availability and minimize downtime. Once all database copies are healthy again, you can rebalance them using the RedistributeActiveDatabases.ps1 script or by suspending activation on specific servers if needed. 

    Besides that, as a forum moderator, I have limitations in my testing environments and cannot access the internal databases to check your tenant directly. Therefore, I highly recommend that you submit a service request to Microsoft Support team for the most efficient help. This will allow our dedicated support engineers who have broader diagnostic tools and permissions to investigate and assist you more effectively. Reference: Get support - Microsoft 365 admin | Microsoft Learn 

    Wish you a pleasant day! 


    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. 

    User's image


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.