Survey banner
The Dataiku Community is moving to a new home! We are temporary in read only mode: LEARN MORE

Messaging channels : SMTP with OAuth2

jonas
Level 2
Messaging channels : SMTP with OAuth2

Hello,

I would like to setup an SMTP (smtp.office365.com)  messaging channel with OAuth 2 authentication (https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-i...)

Is it supported by Dataiku and if yes what would be the Extra properties to setup ?

As is the underlying library is the standard java library for mail (https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html), it should be the case.

Thanks in advance for your help


Operating system used: Centos

0 Kudos
5 Replies
sergeyd
Dataiker

Hi @jonas 

It is not currently possible to use OAuth2 with SMTP. We are aware that Microsoft announced they want to deprecate SMTP with basic Auth so we already have an enhancement request to add OAuth2 for SMTP. 

0 Kudos
jonas
Level 2
Author

Any visibility regarding when this feature will be available ?

0 Kudos
sergeyd
Dataiker

I do not have timelines. This is under R&D consideration at this moment. 

0 Kudos
acoronel
Level 1

Hello, has this feature been implemented?
I can't find any documentation and in DSS11 UI I can't see any option apart of just username / password.

Thanks!!!!

0 Kudos
AlexT
Dataiker

@acoronel 
This was implemented in DSS 12 :
https://doc.dataiku.com/dss/latest/release_notes/12.html#scenarios
->  Added a new mail channel to send emails using Microsoft365 with OAuth

Relevant doc on how to set it up: https://doc.dataiku.com/dss/latest/scenarios/reporters.html#microsoft-365-integration-setup