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 III
Dual Super User III

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 III
Dual Super User III

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (6,969)