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 email@example.com 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 firstname.lastname@example.org from their outlook whenever they want.
Any instructions or thoughts are very much appreciated!
Edit: Current the form is set up under the email@example.com , i'm assuming i can change that to be the service account whenever i figure out how to do that?
If you grant firstname.lastname@example.org "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.
Check out the News & Announcements to learn more.
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.