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:
Thank you for your help!
Okey, Thank you!
"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.