on 2023 Dec 11 5:43 PM
Hi,
I'm trying to send email from a Build Process Automation workflow.
I created sap_process_automation_mail destination as below, but it doesn't work.
Type MAIL
Proxy Type Internet
Authentication OAuth2Password
User <user_email>
Password <user_pwd>
Client ID <Application ID (client)>
Client Secret <client secret value>
Token Service URL https://login.microsoftonline.com/<Tenant_ID>/oauth2/v2.0/token
- - - ADDITIONAL PROPERTIES - - -
mail.bpm.send.disabled false
mail.smtp.auth true
mail.smtp.auth.mechanisms XOAUTH2
mail.smtp.from <user_email>
mail.smtp.host smtp.office365.com
mail.smtp.port 587
mail.smtp.ssl.checkserveridentity true
mail.smtp.ssl.enable false
mail.smtp.ssl.trust *
mail.smtp.starttls.enable true
mail.smtp.starttls.required true
mail.transport.protocol smtp
scope https://graph.microsoft.com/SMTP.Send
How can i solve?
Thanks in advance,
Giampaolo
Request clarification before answering.
Hi Giampaolo,
please check the examples at the respective product documentation page. Maybe you have overlooked it, because you have to expand the example to see the code:
You should see that the scope is different. It has to be https://outlook.office.com/SMTP.Send (outlook instead of graph).
Please also refer to the troubleshooting guide linked at the bottom of the page.
Regards,
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tobias,
I followed this help to set properties and the scope you suggested was my first choice, but it doesn't work.
I tried with others scopes attribuited to Azure App, but none of them work
Do you have any other suggestions?
Best Regards,
Giampaolo
P.S.
I cannot find permission SMTP.Send on Office 365 Exchange Online API
User | Count |
---|---|
85 | |
12 | |
9 | |
8 | |
8 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.