Skip to main content

Notifications

Power Automate - Using Connectors
Answered

Connection service account when power app trigger from user account

(1) ShareShare
ReportReport
Posted on by

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.

JD94_0-1649075029402.png

When I look at the run the connectionname seems to be the service account however suddenly access is denied.

 

Is this even possible?

  • powermareben Profile Picture
    powermareben 10 on at
    Re: Connection service account when power app trigger from user account

    If you use PowerApps (2) trigger, you can still configure Run only users. You don't need to create a child flow.

  • Verified answer
    Re: Connection service account when power app trigger from user account

    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

  • Re: Connection service account when power app trigger from user account

    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.

    JD94_0-1649423792829.png

     

  • Re: Connection service account when power app trigger from user account

    Hi @Anonymous ,

     

    You could specify one connection i.e. your service account for every single connector.

    vxiaochenmsft_0-1649383914194.png

    vxiaochenmsft_1-1649383992008.png

     

    Best Regards,

    Wearsky

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard

Featured topics