I made a powerapp that collects some data and a submit button that starts a powerautomate flow.
In the flow I have several steps that need connections for azure devops, outlook, etc. I made the flow with a service account aswell as all the connection references.
When I run the app from the service account or a user that has all the required rights everything works fine.
When a user who doenst have permission on azure devops it fails, makes sense.
However I want to enforce the flow to use the service account to start the build. I dont want to give everyone rights on azure devops.
When I look at the run the connectionname seems to be the service account however suddenly access is denied.
Is this even possible?
If you use PowerApps (2) trigger, you can still configure Run only users. You don't need to create a child flow.
Hi @Anonymous ,
This is by design. If the flow is triggered by powerapps , users can only use their own connections.
The workaround is to create a child flow or use 'When a http request is received' trigger in the second flow.
Best Regards,
Wearsky
Hi,
Thank you for the reply. Since the flow is triggered by a powerapp it isnt categorised as an instan flow i.e. no run only users option is available.
Hi @Anonymous ,
You could specify one connection i.e. your service account for every single connector.
Best Regards,
Wearsky