Emails Getting Stuck In Outlook (Outlook Connectivity Test Failed), OWA is working fine.

Asif janjua 21 Reputation points
2020-12-27T14:00:05.347+00:00

We have Exchange 2016 and outlook is very slow, like emails are getting stuck in outbox. Some time the new emails delivered but old emails keep stuck in outbox and not getting delivered at all.

I am getting below mentioned error in outlook connectivity test.

Testing the MAPI Mail Store endpoint on the Exchange server.An error occurred while testing the Mail Store.
Test Steps

Attempting to log on to the Mailbox.An error occurred while logging on to the Mailbox.
Additional Details
Mailbox logon returned EcLoginFailure -2147221231. Possible causes are: 1. The user doesn't have any access to a private mailbox or public folder messaging data. 2. There are no private mailboxes or public folders on the server. 3. The server is exiting or is about to exit. Status Code: -2147221231

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

5 answers

Sort by: Most helpful
  1. Kael Yao 37,746 Reputation points Moderator
    2020-12-28T05:17:54.08+00:00

    @Asif janjua
    Hi,

    Does an internal Outlook client have the same problem?
    Can you find some related error or warning events in the application logs in event viewer?

    Please try creating a new database and migrate a mailbox to it for test.
    And see if the problem persists.


    If the response 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.

    0 comments No comments

  2. Asif janjua 21 Reputation points
    2020-12-28T13:42:22.55+00:00

    Dear @Kael Yao ,

    I have migrated the mailbox to newly fresh created mailbox database and now outlook connectivity in Microsoft RCA is passed successfully. However, the emails which were stuck in outbox are still there and its not going through, even if i click double click on email and then click on send.

    Moreover, kindly let me know what exactly this error is referring to. Is database corrupted or have any issues?

    Testing the MAPI Mail Store endpoint on the Exchange server.
    An error occurred while testing the Mail Store.
    Test Steps

    Attempting to log on to the Mailbox.
    An error occurred while logging on to the Mailbox.
    Additional Details
    Mailbox logon returned EcLoginFailure -2147221231. Possible causes are:

    1. The user doesn't have any access to a private mailbox or public folder messaging data.
    2. There are no private mailboxes or public folders on the server.
    3. The server is exiting or is about to exit.
      Status Code: -2147221231
      HTTP Response Headers:
      Transfer-Encoding: chunked
      request-id: 447ab8a4-ac26-4f41-9a8b-b62c501dc097
      X-CalculatedBETarget: ardspvexmb04.arcci.local
      X-ServerApplication: Exchange/15.01.1979.002
      X-RequestId: 08f60c0b-2008-493a-9a82-915de5fb6d41:1
      X-ClientInfo: b8513419-68e1-4985-bdfa-fee19e2d507f:1

  3. Asif janjua 21 Reputation points
    2021-01-12T10:18:26.173+00:00

    To troubleshoot the mail stuck in outbox issue, can you see the same old mails and send them successfully via OWA?

    The emails stuck in outbox, only showing in outlook box and not appearing in OWA.

    If it doesn't work,please create a new mailbox in the new database for test.

    And also check if the server is currently having some backpressure problems.

    How I can check this that server is having back pressure problems ?

    Moreover, I have restarted the transport and also whole server but still its not working.


  4. Zenifer Smith 15 Reputation points
    2023-07-28T15:51:44.5733333+00:00

    It seems there's an issue with Outlook connecting to the Exchange server. Emails are stuck in the outbox, and the Connectivity Test fails with error -2147221231 (EcLoginFailure). Here's what you can do:

    1. Check user mailbox permissions.
    2. Ensure the Exchange server is working properly.
    3. Update Outlook to the latest version.
    4. Repair the Outlook profile.
    5. Test with Outlook Web App (OWA).
    6. Temporarily disable Outlook add-ins.
    7. Check Exchange server logs.
    8. Contact Exchange support if needed.
    0 comments No comments

  5. Peter Kayode 506 Reputation points
    2023-07-28T23:44:44.82+00:00

    Asif janjua

    The error you're encountering seems to be related to the MAPI (Messaging Application Programming Interface) Mail Store on your Exchange server. The error code EcLoginFailure -2147221231 suggests that the user might not have access to a private mailbox or public folder messaging data, there are no private mailboxes or public folders on the server, or the server is exiting or is about to exit.

    Here are a few steps you can take to troubleshoot this issue:

    Check User Permissions: Ensure that the user has the necessary permissions to access their mailbox. This can be done through the Exchange Admin Center (EAC) or via PowerShell.

    Check Mailbox Existence: Verify that the user's mailbox exists on the server. Again, this can be done through the EAC or PowerShell.

    Server Status: Check the status of your Exchange server. If it's in the process of exiting or rebooting, it could cause this error. Wait for the server to be fully operational and then try again.

    Outlook Version: Ensure that the version of Outlook being used is compatible with your Exchange 2016 server. If it's not, you may need to update or downgrade Outlook.

    Recreate Outlook Profile: Sometimes, recreating the Outlook profile can resolve issues with emails getting stuck in the Outbox.

    Network Issues: Check for any network connectivity issues between the client machine and the Exchange server.

    If none of these steps resolve the issue, it might be worth reaching out to Microsoft Support for further assistance.

    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.