This issue occurs when your user principal name (UPN) differs from your primary SMTP address in a Microsoft Exchange Server 2013 environment.
When this issue occurs, Internet Message Access Protocol (IMAP) doesn't work with the Windows Challenge/Response (NTLM) authentication protocol.
When this issue occurs, Internet Message Access Protocol (IMAP) doesn't work with the Windows Challenge/Response (NTLM) authentication protocol.