I am trying to complete my flow with the ability to have the from be the responders email.
How can I set this up to send as them, without the need to go into each and everyone user profile and set up send as manually? I have over 250 users in my tenant, and need all of them to have the ability to do this form, and it send as them so that when I reply it replies to them.
I would also like to that they not have the ability to regularly send from that account. meaning I do not want the email account to show in their outlook.
Essentially I have firstname.lastname@example.org set up as the connection, but want the person's email show submitted the form to show instead of that. Again, this way, when I reply its to that persons email.
Thanks in advance!
flows that run using an automated trigger run in the security context of the maker. In that case to change the from of an email the maker must have "Send As" permission to every mailbox that will be used for the from. With 250 users that probably isn't feasible. The alternative is to change the trigger to a manual trigger. Flows started with a manual trigger run in the context of the user who started the flow. Then you can use that user's email mailbox to in the from field of the email.
Sorry, I misunderstood. You are talking about sending the email out from the person who submitted the Microsoft Form response. A manual trigger won't help in this case because you need the When a response is submitted trigger to get the response of the actual MS form. A flow can't have two triggers. So in this case there is no way to get the flow to run in the context of the user who submitted the MS Form. Your only option would be to give the maker of the flow (It could be a service account) send as permission to all the mailboxes you want to use as from addresses. There is no other workaround in this case.
Ok, no worries... I can do that... I think... Again, new to all this, I have searched for instructions on how to do this, but nothing is really clear to me.
Also, doing that, i want to make sure that the end user wouldnt have the ability to send as email@example.com from their outlook whenever they want.
Any instructions or thoughts are very much appreciated!
Edit: Current the form is set up under the firstname.lastname@example.org , i'm assuming i can change that to be the service account whenever i figure out how to do that?
If you grant email@example.com "Send As" permissions to a person's mailbox that doesn't give that person any permission to the Systems mailbox. If they try to use the existing connection it should prompt them to login to their own mailbox. Here's info on how to assign the permission.
And yes, you should be able to change the connection to a service account if you edit the flow as the service account.
No, its the other way around. You would have to go to each mailbox and give Systems@mytenant.com permissions to their mailbox. As I said, its not very practical. As an Exchange admin you should also be able to script it using PowerShell.
Yes, I believe that would work.
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.