If you use discourse_docker, try setting this in your app.yml:
DISCOURSE_SMTP_AUTHENTICATION: login
If you don’t use docker, try setting this in your discourse.conf:
smtp_authentication = login
By default, Discourse uses plain
authentication (which is not what MS Exchange expects):