cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Flow - sending emails from a service account

Hi - i've got an approval flow for announcements that are added to a Sharepoint list.

I need the announcement when approved to be emailed out to the whole organisation from a service account ("Important Announcements") with a donotreply email address.    I understand that right now every email will go out from me as owner of the flow which is unacceptable.

 

Which is the best way to do achieve this?

 

1)  Do I switch back to SP 2013 workflow to send out the email  (as it was very easy to do in Sharepoint designer).  Can SP workflow pick up a modify event once the Microsoft Flow has updated the approval status on my item,or is running flow alongside SP workflow a bad idea?

 

2)  Would the "send from Shared mailbox" within Flow allow me to do this.   I'm confused about permissions if this is the solution - do I need to build the flow whilst logged in as the service account for this to work?   Or can I just add a service account as an owner for my flow?    

Are there any other issues that I'll run into when trying to send emails from a service account?

Many thanks
Ian

 

 

1 REPLY 1
v-xida-msft
Community Support
Community Support

Hi @IanROH

 

Do you want to send an email to the whole organization account of a service?

For your first idea, do you use “Alert me when items change” feature in SharePoint designer? I think it is not necessary to send email via SharePoint workflow alongside running Microsoft Flow.

 

For your second idea, if you use “Send an email from a shared mailbox” action within your flow, your account should have permission to access the mailbox.

 

Besides, you could configure your flow as below:7.JPG

Within From (Send as) field, you could fill your service account, but the field requires "Send as" or "Send on behalf of" permission for that mailbox.

 

 

More details about creating a shared mailbox, please check the following document:
Create a shared mailbox

More details about accessing another person's mail box, please check the following document:

Access another person's mailbox

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,546)