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.
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
Solved! Go to Solution.
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
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
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
14 | |
14 | |
9 | |
7 | |
6 |
User | Count |
---|---|
20 | |
16 | |
9 | |
8 | |
7 |