cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Super User
Super User

Send as email - SharePoint new item trigger

Hi all,

 

I'm looking to better understand if/how it is possible to send email on behalf someone.

 

I have a Flow that is triggered when new item is created in SharePoint list.

1) Under which account is such Flow running? The creator of Flow or the the creator of SharePoint item?

 

Such Flow is trying to send email notification where sender should be some specific email address.

2) Is there some chance to configure specific account that is running this action? Like for example to trigger some Flow via http call that is created under specific account that have rights to send on behalf of such mailbox. Will this work?

 

I know that you will navigate me to solution if there is any, as I am not able dig it out.

 

Thank you

P.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Send as email - SharePoint new item trigger

@vecerpa:

 

In answer to your first question, the Flow is running in the user context of the connection that is taking the action.  This is a similar concept to an impersonation step in a Designer workflow.  That account usually is, but need not be, the creator of the Flow.

 

I don't have a specific answer to your second question other than to say that you can configure any action with any account.  Obviously, you need to know the credentials for that account.  Stated another way, any given Flow can run actions with connections using different accounts - all you need to do is add connections for the account that you want to use.  I do not know if there is an Exchange web service available in Office 365 that will allow you to send as someone else (assuming that the account has permissions to do so).  I suspect that question is better asked on one of the Exchange forums.

 

Sorry I can't be more specific but I hope this helps...

 

Scott

 

Scott

 

 

 

 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Send as email - SharePoint new item trigger

@vecerpa:

 

In answer to your first question, the Flow is running in the user context of the connection that is taking the action.  This is a similar concept to an impersonation step in a Designer workflow.  That account usually is, but need not be, the creator of the Flow.

 

I don't have a specific answer to your second question other than to say that you can configure any action with any account.  Obviously, you need to know the credentials for that account.  Stated another way, any given Flow can run actions with connections using different accounts - all you need to do is add connections for the account that you want to use.  I do not know if there is an Exchange web service available in Office 365 that will allow you to send as someone else (assuming that the account has permissions to do so).  I suspect that question is better asked on one of the Exchange forums.

 

Sorry I can't be more specific but I hope this helps...

 

Scott

 

Scott

 

 

 

 

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Administrator
Administrator

Re: Send as email - SharePoint new item trigger

Hello,  @vecerpa!

Have you had an opportunity to try @ScottShearer‘s recommendation? If yes, and you found a solution to be satisfactory, please go ahead and post it as a comment on this thread and click “Accept as Solution” so that this thread will be marked for other users to easily identify!


Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

-Gabriel
Microsoft Power Automate Community Manager
Are YOU a member of your local Power Automate User Group?
Fill out This Form to claim your Community User Group Member Badge!
Super User
Super User

Re: Send as email - SharePoint new item trigger

Hi @GabrielStJohn,

 

I found solution same day by myself 🙂

You know, when you are looking for something under pressure you are not able to find solution by yourself. Then you stop for a coffee break and it appear in front of coffee machine 🙂

P.

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (5,768)