Exchange Online connectivity with IMAP not working

Steven 41 Reputation points
2021-09-27T08:13:36.89+00:00

When I try to connect to my exchange online mailbox via IMAP. it said that I used the wrong credentials. I am 100% sure that I am using the right credentials because, I can log on to the webmail with those credentials.

I tried to connect with the following:

IMAP:

  • Server: outlook.office365.com
  • Port: 993
  • Encryption Method: SSL/TLS
  • username: [the same mail address I used for the webmail]
  • password: [Password that matches with the above mail address]

SMTP:

  • Server: smtp.office365.com
  • Port: 587
  • Encryption Method: STARTTLS
  • username: [the same mail address I used for the webmail]
  • password: [Password that matches with the above mail address]

Does anyone know how to solve this problem?

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

Accepted answer
  1. Kael Yao 37,746 Reputation points Moderator
    2021-09-28T06:38:52.483+00:00

    Hi @Steven

    Below are several settings I would recommend to have a check:

    1. access EAC>Recipients>Mailboxes>user mailbox>Email apps>Manage email apps settings
      Check if IMAP is enabled for this mailbox (by default it would be enabled)
      135795-12.png
    2. access Azure portal>Azure Active Directory > Properties>Manage security defaults
      Check if security defaults is enabled
      If it is enabled, disable it and see if it can help with this issue.
      135748-03.png
    3. If the issue persists, have you configured some Conditional Access policies?
      If any, please exclude this account from the policies.

    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

0 additional answers

Sort by: Most helpful

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.