This flow is part of a Time Off Request app. Originally approval emails were being sent to employees from my email address, instead of the Approver. I made changes (see attached) to have email sent "From" the Approver and I now receive the "You are not authorized to send mail on behalf of the specified sending account." error message. Any help would be greatly appreciated!
Hi @gillgamm.
You need to be sure the account you are using for the "From" address is configured to allow you to send as them. Hope that helps.
I have "Send As" permissions for the "From" email I've selected but am still getting the error. Any suggestions?
If you are the maker (owner) of the flow and your account is disabled the flow will stop functioning until a new valid owner is added. So yes you should have an owner on the flow that will not be disabled.
Can I just change the connector on the email action to the service account? Or, are you saying that once my account is disabled (when I leave), the entire flow will not function? Thank you in advance.
If you want to send the emails as a service account then you should be creating the flow while logged in as that servcie account. That will send the email from that account. Using the From field will require that the user running the flow has that permission to the account. If you are a consultant who will be leaving the company then that's another reason to create the flow while logged in as the service account. Otherwise the flow will stop working when your account is disabled.
I am working as a consultant, and need to set this to run after I leave. We NEED the "From" address to be a service account email address. How do we setup these flows to run after I finish my contract and leave the company (and they disable my account)?
If you are going to fill in the From field then the account that is used as the security context of the flow will need Send on Behalf of permission to that mailbox. If the flow is automated that means the maker of the flow needs that permission for every approver mailbox. If the flow is triggered manually then every user will need that permission. Its not practical.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.