So, I am testing a flow I created for notifications and to send an email, but it keeps failing.
Here is the error message I receive.
"status": 403,
"message": "You are not authorized to send mail on behalf of the specified sending account.\r\nclientRequestId: 4777cda9-4ae3-4878-a301-33186fd933e3\r\nserviceRequestId: 5b1b32e8-fe04-4dbc-b3e0-5a9bde039fca",
"source": "office365-scus.azconn-scus.p.azurewebsites.net"
However, I created the flow and am testing it with my own credentials. Any suggestions as to why it may not be working?
I also want to know... The E-Mail needs to be send by the one who solved a form (on my end).
I'm interested in the answer to your question too...!
Might this is an old topic, but I have the same issue and when I fill in from(send as) by modified by email from the dynamic content, it gave me the same error,
"You are not authorized to send mail on behalf of the specified sending account.
clientRequestId: c68554b7-d83b-49e8-8b3e-e554dae8dc33
serviceRequestId: a9d5b879-65f0-a1cd-4491-21aa6bbc894f"
when I left the From(send as) empty, the email was sent by the flow creator!!
that means the flow creator have to have permission on all users to be able to send on their behalf, is that logic?
Thanks for following up. I was able to resolve it. I changed the From(Send as) it was set as a specific sender that I was not authorized to send email as. I changed it to Created By Email form dynamic content. This fixed it. It was trying to send as the maker of the workflow instead of the created of the instance that trigged the workflow.
Hi @Anonymous,
Could you please share a screenshot of your flow's configuration?
The error message told that your account is not authorized to send mail on behalf of the specified sending account within "Send an email" action.
I have made a test on my side and don't have the issue that you mentioned. My flow's configuration as below:
The flow works successfully as below:
Please check if you have typed email address within From (Send as) field of "Send an email" action, if you only want to send an email from your own mailbox, please make sure that the From (Send as) field is empty (as above flow's screenshot).
If you want to send an email on behalf of other mailbox via typing email address within From (Send as) field of "Send an email" action, please make sure that you email address account has been assigned "Send as" or "Send on behalf of" permission to the specific email address. More details about sending an email on behalf of another user, please check the following article:
I have made a test on my side to send an email on behalf of another user and my flow's configuration as below:
Note: Within "From (Send as)" field, type the email address that you want to send on behalf of and ends with a semicolon (;).
The flow works successfully as below:
Best regards,
Kris
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional