Connection test failed: SELECT command error: BAD [b'User is authenticated but not connected.']

Bart 5 Reputation points
2023-08-14T09:12:13.5633333+00:00

hello,

imap access via our CRM suddenly stopped working with error: Connection test failed: SELECT command error: BAD [b'User is authenticated but not connected.']

This happens on the two needed mailboxes.

I checked/tried the following:

App permissions:

User's image

Imap is enabled on the user:

User's image

License on the user:

User's image

Can someone please help me out?

Thanks!

Exchange Online
Exchange Online
A Microsoft email and calendaring hosted service.
6,171 questions
Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Bart 5 Reputation points
    2023-08-17T10:31:14.7733333+00:00

    i figured it out, i needed to login with the user and not the admin during the connection between odoo and outlook.

    1 person found this answer helpful.
    0 comments No comments

  2. Jarvis Sun-MSFT 10,231 Reputation points Microsoft External Staff
    2023-08-16T03:05:29.2933333+00:00

    Hi @Bart ,

    Thanks for posting in our Q&A forum.

    Have you checked if the user has MFA enabled? It should be disabled for IMAP access.

    User's image

    Related thread: https://stackoverflow.com/questions/74318775/unable-to-access-the-shared-mailbox-after-authenticated-user-is-authenticated

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.


    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.

    0 comments No comments

  3. Bart 5 Reputation points
    2023-08-16T07:30:35.3533333+00:00

    hello,

    that is already disabled:

    User's image

    0 comments No comments

  4. Jarvis Sun-MSFT 10,231 Reputation points Microsoft External Staff
    2023-08-21T08:24:36.3433333+00:00

    Hi @Bart ,

    Glad to see that your issue had already been resolved and thanks for sharing the solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others", I'll repost your solution in case you'd like to "Accept" the answer.

     

     

     

    Connection test failed: SELECT command error: BAD [b'User is authenticated but not connected.']

     

    Issue Symptom:

    imap access via our CRM suddenly stopped working with error: Connection test failed: SELECT command error: BAD [b'User is authenticated but not connected.']

     

    Solution:

    I figured it out, i needed to login with the user and not the admin during the connection between odoo and outlook.

    Best regards,

    Jarvis

    0 comments No comments

  5. C S 0 Reputation points
    2023-11-08T13:41:52.9066667+00:00

    Hi, I have the same problem! All acess are enabled and permissions activated but getting always this error?

    Maybe the problemin IMAP Settings?

    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.