I'm working on a canvas app that triggers two different flows. Both of these flows require connections to outlook, dataverse, onedrive, microsoft word, and adobe sign. Is it possible to set up a service account that will be used for establishing these connections? And if so, can users of the app who are logged in with their own personal accounts (assuming they have been given access to the app/data sources) use these flows without having to user their own login credentials for the flow connections?
So for example: the flow creates a document using microsoft word, saves it to the dataverse table, and sends it out for signature using adobe sign. If a user triggers that flow, will the service account be able to handle all the connections?
Hi @EHelf
Please navigate to https://make.powerautomate.com/
Select the environment and locate the flow in the grid.
Now, click on the flow name and you can see the 'Run only user' section at the bottom right corner of the screen.
If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.
Thanks
Did some more searching and found that I used the PowerApps trigger instead of the PowerApps (V2) trigger. That's the reason there is no 'Run only users' option.
@ManishSolanki Thanks for the reply!
My flows are Instant flows, but don't have the 'Run only users' section. They are triggered when a form is submitted inside the Canvas app. Is that affecting why I can't see the 'Run only users'?
Hi @EHelf
Flows which are triggered from canvas app are Instant flows. You can explicitly set the connection to use service account using 'Run only users' option on flow details page. Here are the steps to modify 'run only user' connections:
Go to flow details page and scroll down to bottom right corner, click on edit link:
Next, scroll down to 'Connection used' and select the service account connection to be used for each connector. By default, 'Provided by run only user' is selected for each connector:
If this helps, please remember to give a 👍 and accept my solution as it will help others in the future.
Thanks