Techie-v2 Posted February 21, 2023 Posted February 21, 2023 Hi all, So I have made a planned absence system for staff. Staff sign in to an MS form, fill in details, request then gets sent to responsible person using an approval process, depending on approved or rejected, emails then get sent to various people with required details to arrange cover etc. Issue I'm having is because I made the flow under my account, all the requests and approval/rejection emails appear as if they have come from me. Of course I have included the member of staffs name in the details but the prefilled top part of the emails still have my name in it as if I made the request and send the decision. Is there anything I can do to get round this? Thanks
Steve21 Posted February 21, 2023 Posted February 21, 2023 Use V3 connectors instead of V2 if you want it from powerapps@ Or using V2 use a shared mailbox under advanced options (From (Send As)) Assuming it hasn't changed recently Steve
CaptainJama Posted February 22, 2023 Posted February 22, 2023 Create the flow under a service account then use that to send the email. This is easily if others need access to the flow if you decide to leave the company.
Boredguy Posted February 22, 2023 Posted February 22, 2023 (edited) I've been doing something similar today, and if your using the results from a MS Form, you can read the row from the excel online (business) sheet that was created, and get the e-mail address of the user that completed the form and pass that into the "Requestor" field in the "Start and Wait for Approval" task as the person who it should be from instead of the account your running the automate f. I've also made sure the Form has been moved into a Team that the Automate account has access to instead of it just being a form in a users account as it's easier for future Edited February 22, 2023 by Boredguy
Omega_NL Posted February 22, 2023 Posted February 22, 2023 As Steve mentioned, use the send an email (V2) and it has an option to add an address in the From (Send as) field after clicking 'Show advanced options'. Here you can add an address manually or use dynamic content to make it change the sender address based on field data. I should think you'll need permissions to send on behalf of though as running the flow is still tied to your account.
Techie-v2 Posted February 27, 2023 Author Posted February 27, 2023 Thanks for the replies. I knew about the from field on the email, but I don't really want to give send on behalf permission on e eryones account to me or any service account. I have found the "requestor" field in the "Start an approval" box and used dynamic content to fill that with the responders email. Will see how it goes
Boredguy Posted February 27, 2023 Posted February 27, 2023 Thanks for the replies. I knew about the from field on the email, but I don't really want to give send on behalf permission on e eryones account to me or any service account. I have found the "requestor" field in the "Start an approval" box and used dynamic content to fill that with the responders email. Will see how it goes I'm using that form and it seemed to be fine so far.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now