cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Destination for SAP Build Process Automation

rithvikbh
Explorer
0 Kudos
583

Hi All,

As per below SAP help document, I have created destination (sap_process_automation_mail) for BPA.

https://help.sap.com/docs/build-process-automation/sap-build-process-automation/configuring-smtp-mai...

But when we are testing mail from BPA it is failing with below error. Only one thing i feel missing at M365 is "Redirect URI for BPA". Could you please guide how to build "Redirect URI " for SAP Build Process Automation". Please suggest if any thing i need to cross check at BTP side or M365.

Error message:The destination service did not return authorization data for destination 'sap_process_automation_mail' using authentication type 'OAuth2Password'. The error message returned was: 'AADSTS50034: The user account {EUII Hidden} does not exist in the  directory. To sign into this application, the account must be added to the directory.

Thanks,

Ramesh

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Manas_Vincit
Active Participant
0 Kudos

Did you get any solution for this, Seems like we are getting same error. is it possible to share what exact setting has been made on SMTP side on azure?

Best Reagards,

Manas Behra

Manas_Vincit
Active Participant
0 Kudos
Just to answer my question here, Found a new blog providing setup on azure side https://community.sap.com/t5/technology-blogs-by-sap/sap-build-process-automation-smtp-mail-destinat...
0 Kudos
I am also in the same boat and I have added every information that is in the blog and verified the process and getting this issue