cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jay312
Helper V
Helper V

Send an email on behalf of created by using Dynamic content?

Hello!

 

I have a simple flow.

 

To summarise when a user creates an item on a sharepoint list an email is sent to someone using a standard admin account made just for flows.

 

I want it so when the email is sent from the admin account, it is sent on behalf of WHOEVER created the request on the SharePoint site.

 

I tried putting 'Created by email' as the send from option But I got the error saying I do not have permission to send on behalf.

 

Is there a way to send on behalf of whoever creates the item? We may have hundreds of people create the item so that is why it may cause problems. Please see pics below

 

image.pngimage.png

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @jay312 

 

This is not possible to do. Emails can be send from their own credentials. You may need to look shared email box where multiple people can read and send email.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

5 REPLIES 5
abm
Super User
Super User

Hi @jay312 

 

This is not possible to do. Emails can be send from their own credentials. You may need to look shared email box where multiple people can read and send email.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

Thanks @abm 

 

So the send on behalf only really works if you have a few email accounts you want to send from, and get access to their emails.

 

But for this scenario where 100 different people could create an item on the Sharepoint list, it does not make sense to try and obtain send from access to all 100+ people?  So best bet is to just keep the service account I guess.

Hi @jay312 

 

Thanks for the quick response.

 

From a security and audit trail point of view this is absolutely right.  Yes you could use a service account (need to have an Inbox) and capture the created by user details in the email body.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Thanks @abm 

 

Just out of curiosity, do you know if a service account could easily obtain access to send on behalf of everyone? i.e. is there some settings we can tick to give it access or is it very long to get send access for over 1000 users?

Hi @jay312 

 

Recently I did used in a project where we created a noreply@domain.com address where it send out the email to people. Make sure this is another email account whether its service account or not which should have an email address / inbox associated with it. When flow runs it will use the credentials of newly created email.

 

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,877)