Office 365 Troubleshooting Guide

If you think, you are entering the right credentials on the app but it still say’s “Invalid credentials”. It most probably means your IT administrator hasn’t enabled IMAP access for your account.

You can follow the instructions in the Documentation to enable IMAP access. If you are not the admin, you might need to ask your IT administrator to do so.