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

Need for clarification about Flow connections

Hi,

 

I need clarification about Flow connections becasue I don't understand how it manages these connections and permissions when an other user than the creator uses the Flow.

 

For example, I've got a Flow started by an PowerApps app, which asks for a validation of the filled data thanks to the approvals action. It ends up filling an Excel fill with these data.

 

I've got two connections. One for Approvals and one for Excel.

 

Connections example.PNG

My email address is displayed (I'm the creator of the flow) but if another user started the Flow via PowerApps, will the Flow uses the user's connection for Excel and keeps mine for the approval ?

If yes, that means, I have to give modification permission for users to fill the Excel and My profile will constantly appear in the approbation mail.

 

Cordially,

Vivaz

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Need for clarification about Flow connections

There are a couple different scenarios that affect what user context is used for a Flow.

 

1) In general a Flow uses the context of the maker and the OAuth connection created by the maker when the Flow was developed.

2) Flows that are started by either a mobile button or a PowerApps button will run in the context of the user who pressed the button.  For example, when a user first runs a PowerApp that is linked to a Flow they will be asked to approve the OAuth connection for the PowerApp.  That will include the OAuth connection for the Flow as well.

 

In your case both connections should run in your context unless they used in a PowerApp or a Flow started via a button.  If the Excel file you are connecting to is in OneDrive and you don't share the file that can cause a user to generate a new connection to use the file from their OneDrive. But that's an issue with sharing the app, not the normal way it runs



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

View solution in original post

1 REPLY 1
Dual Super User
Dual Super User

Re: Need for clarification about Flow connections

There are a couple different scenarios that affect what user context is used for a Flow.

 

1) In general a Flow uses the context of the maker and the OAuth connection created by the maker when the Flow was developed.

2) Flows that are started by either a mobile button or a PowerApps button will run in the context of the user who pressed the button.  For example, when a user first runs a PowerApp that is linked to a Flow they will be asked to approve the OAuth connection for the PowerApp.  That will include the OAuth connection for the Flow as well.

 

In your case both connections should run in your context unless they used in a PowerApp or a Flow started via a button.  If the Excel file you are connecting to is in OneDrive and you don't share the file that can cause a user to generate a new connection to use the file from their OneDrive. But that's an issue with sharing the app, not the normal way it runs



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

View solution in original post

Helpful resources

Announcements
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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,697)