Ms teams watcher

"type": "messaging_exception",
"reason": "failed to send email with subject [mail alert] via account [outlook_account]",
"caused_by": {
"type": "s_m_t_p_send_failed_exception",
"reason": "554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message

what is the issue? i am not able to find

The Microsoft Office365 SMTP server is rejecting the set "From" address.
Use a licensed account in the "From" address

hi @ylasri, i am using the licensed account for outlook

Make sure you use the following setup in elasticsearch.yml
update from to use the same value as user
        profile: outlook
            from: <email address of service account> 
            auth: true
            starttls.enable: true
            port: 587
            user: <email.address>
1 Like

thanks @ylasri the issue is fixed now after adding the from address in the email_defaults.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.