Email Domain - Microsoft Exchange

when trying to configure Email domain the below error message is showing
Incoming email account not correct
Error connecting via IMAP/POP3: b’* OK The Microsoft Exchange IMAP4 service is ready.
how to resolve the error…

Make sure you don’t have app password turned on or create one if you have it. Happened to me several times, when I forgot to create new password for new app.