Hi All,
This query partly relates to the following post, regarding an app triggering flows (running in the context of a user).
I thought we had a resolution to this, in granting the users the 'Flow-RP' role, however the third party we work with advised against this stating it would give the users too high a level of permissions.
https://powerusers.microsoft.com/t5/Building-Power-Apps/Connection-not-configured-for-this-service/m-p/2419523
They have advised that the most reliable way is to run the flows in the context of a service account. I would just like to try and confirm the following to ensure we aren't going to run into any problems (if we run the flows in the context of a service account).
Environment
- Which security role would users require at the environment level?
- Would the out of the box 'Basic User' role be sufficient? Or would the users require a customised copy of the 'Basic User' role with Organisation Read on the Process and Solution Tables?
Flows
I understand I would need to change the 'Run only users' settings and amend the 'Connections Used' from 'Provided by run-only user' to 'Use this connection (Service Account Name)'
- (Under the 'Run only users' settings for each flow) Does the flow have to be shared with any user(s) who needs to be able to trigger the flow from the app?
Obviously the App and any datasources also need to be shared with the user(s), is there anything I have missed in terms of settings that need to be configured in order to get this to work with both a unmanaged and managed solution?
Any help with this would be much appreciated, thanks.