How to config SMTP sender with OAUTH2 for Microsoft Exchange Online (Azure)?

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.16.0

Describe the issue:
I would like to config SMTP sender for microsoft online mail service; however, basic authentication is depricated (Deprecation of Basic authentication in Exchange Online | Microsoft Learn) and for security reason, microsoft, forced using OAUTH2; I am wondering how can I config SMTP sender not using basic authentication, is it a way? in opensearch document only saw adding username and password to keystore and using TLS/SSL.

Configuration:

Relevant Logs or Screenshots:

@javad As far as I can see in the documentation and GitHub, OAuth2 is not supported.
Would you mind filling in a Feature Request in OpenSearch GitHub?

Please share the link to the FR here for traceability

tnx, I did FR: [FEATURE] SMTP sender authentication via OAUTH2 · Issue #1088 · opensearch-project/alerting-dashboards-plugin · GitHub

1 Like