Funny enough I ran into the same problem this morning. Just figured out
that our problem was MFA on O365. Instead of using the account password
for authentication, I setup another app password on O365 account, so
that MFA was not blocking the login.M...