As Microsoft is disabling the “old” smtp-Authentification for Office 365 accounts I would like to know, how I can configure Grafana to use OAuth2 for SMTP-Authentification.
Nowhere in the documentation or in the community forum did I find any possibility to do this.
Could anyone provide me with a guide to move forward?
@karakalaustria I just edited this post - I think you’re asking if there is a way to configure your Grafana instance to send email alerts (which requires SMTP). I first thought you were asking how to configure OAuth (to authenticate users).
Here are the settings for SMTP so your grafana instance can send emails to your email contact points. This is not for Office 365, but gives an outline of how another user configured SMTP with gmail.
After you’ve configured SMTP with Grafana, you can create an email contact point and enter the email addresses you want to send alerts to:
As a result, there are no plans to disable Basic Authentication for SMTP AUTH clients at this time. To find out more about OAuth, see Authenticate an IMAP, POP or SMTP connection using OAuth.
Although SMTP AUTH is available now, we announced Exchange Online will permanently remove support for Basic authentication with Client Submission (SMTP AUTH) in September 2025.
Any new info about this? We cannot connect our Grafana to exhange online due to this mis-communication between Grafanan and exchange online.
Hello,
Same here, we’re going to have to deactivate a very useful tool if we don’t find an alternative to this issue. Any advice / workaround is welcome