

Office365 doesn't recognize your username, or your password is incorrect. Password error: Logon failure: unknown user name or bad password. This usually means required ports are blocked on your server in the firewall.Ĭontact your hosting company to verify and ask them to unblock required ports (587, 995, and/or 993) to allow TCP connections. Testing connection, this can take a while. If you do have OAuth set up, double-check your username and OAuth provider settings. You are encouraged to use OAuth instead of a username/password combination. You may be able to re-enable basic authentication once after October 1st, 2022, but it will not work past December 31st, 2022.

Microsoft most likely turned off basic authentication for your account.

1 or newer required):Īuthentication failed: Password command failed OAuth Provider: select the OAuth Provider you have set up for Microsoftįirst, set up Microsoft as an OAuth Provider, then enter these details (Hesk 3.4. To fetch mail from the Office365 server using IMAP protocol, enter these details:įirst, set up Microsoft as an OAuth Provider, then enter these details: "From" name in Hesk Settings > is NOT set to an email address - Microsoft security policies will reject sending emails if the From name is an email address."From" email in Hesk Settings > Email is set to your Office365 email address.Instead of using a username/password combination, you are encouraged to set up OAuth authentication. To send emails using Office365 server, enter these details: Here are the correct settings you should use to connect Hesk to (Microsoft 365): To use Hesk with Microsoft 365, upgrade to the latest version of Hesk and set up OAuth authentication. Effective October 1, 2022, Microsoft will begin to permanently disable Basic Authentication (username/password combination) for Exchange Online in all Microsoft 365 tenants, regardless of usage, except for SMTP Authentication.
