cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jakubz
Helper II
Helper II

Error send email message

Hello,

 

Does anybody know what this error can mean? and if you could you please help me?

The output error message:  

 

{"statusCode":403,"headers":{"Pragma":"no-cache","x-ms-request-id":"a8c9b2df-1850-9cc8-f384-099e983aba4f","Strict-Transport-Security":"max-age=31536000; includeSubDomains","X-Content-Type-Options":"nosniff","X-Frame-Options":"DENY","Cache-Control":"no-store, no-cache","Set-Cookie":"ARRAffinity=7fec6b3d494d502cd339a098a470860ddaf458b68c32b8ce8e190c362de93b94;Path=/;HttpOnly;Secure;Domain=office365-ea.azconn-ea.p.azurewebsites.net,ARRAffinitySameSite=7fec6b3d494d502cd339a098a470860ddaf458b68c32b8ce8e190c362de93b94;Path=/;HttpOnly;SameSite=None;Secure;Domain=office365-ea.azconn-ea.p.azurewebsites.net","Timing-Allow-Origin":"*","x-ms-apihub-cached-response":"true","Date":"Wed, 25 Aug 2021 09:33:30 GMT","Content-Length":"631","Content-Type":"application/json","Expires":"-1"},"body":{"status":403,"message":"You are not authorized to send mail on behalf of the specified sending account.\r\nclientRequestId: 9e5c9100-dc89-431a-b2b4-14b548e6dccb\r\nserviceRequestId: a8c9b2df-1850-9cc8-f384-099e983aba4f","error":{"message":"You are not authorized to send mail on behalf of the specified sending account.","code":"ErrorSendAsDenied","originalMessage":"The user account which was used to submit this request does not have the right to send mail on behalf of the specified sending account., Cannot submit message."},"source":"office365-ea.azconn-ea.p.azurewebsites.net"}}

 

 The flow:

jakubz_0-1629889446902.png

Thank you for your help!

2 REPLIES 2
KvB1
Solution Sage
Solution Sage

"The user account which was used to submit this request does not have the right to send mail on behalf of the specified sending account., Cannot submit message."

 

This means that in the send email action you're using a From email that your flow doesn't have rights for. Basically, if you are sending a mail in name of someone else, that person needs to have authorised you to do so.

jakubz
Helper II
Helper II

Okey, Thank you! 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (5,386)