Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Users being asked to sign in when flows all have Run As users

(0) ShareShare
ReportReport
Posted on by 66

Hi

 

I'm deploying a new canvas app for users which has Power Automate flows that will run as my integration user, rather than as the users themselves.

 

I've set, double checked, and now triple checked that all flows have Run As users set for all connections. But when my users launch the app, they're being asked to sign into two of the five connectors themselves.

 

I've also tried sharing each of the flows with my own user to test if that had anything to do with it. But still I'm being asked to sign in.

 

What else should I check to ensure that my users won't have to sign in to any credentials when they use the app?

  • WarrenBelz Profile Picture
    148,805 Most Valuable Professional on at
    Re: Users being asked to sign in when flows all have Run As users

    Hi @nksse ,

    Interesting - how exactly do you use the manual trigger in this process - I assume you switch back to Power Apps V2 before you deploy ?

  • Verified answer
    nksse Profile Picture
    66 on at
    Re: Users being asked to sign in when flows all have Run As users

    Hey @WarrenBelz 

     

    Thought I'd share my success. I found a forum post (that I can't find again) which mentioned that only Flows triggered by the Flow button for mobile works with Run As users.

    nksse_0-1686298415192.png

     

    I had been using the Power App (V2) trigger. I changed my flows, refreshed them in the app, deployed the new version of the Solution to Production and it works!

  • nksse Profile Picture
    66 on at
    Re: Users being asked to sign in when flows all have Run As users

    Thanks again @WarrenBelz.

  • WarrenBelz Profile Picture
    148,805 Most Valuable Professional on at
    Re: Users being asked to sign in when flows all have Run As users

    Hi @nksse ,

    I must admit the Flows I have done have been connected "live" (out of business hours with the fall-back of versioning and flow backup) for probably the reason you are experiencing.

  • nksse Profile Picture
    66 on at
    Re: Users being asked to sign in when flows all have Run As users

    Hi again @WarrenBelz 

     

    Unfortunately this issue has reared it head again. This time I've made sure that before exporting my app from staging I:

    1. Made sure each flow had the run as users set to my integration user
    2. Refreshed EVERY flow in the App itself
    3. Exported the unmanaged solution as a managed solution
    4. Imported it into our production environment

    However, after importing I noted that not all the Run As users are set in all flows; there were definitely some I had to re-add in production. But the canvas app can't be edited in production, therefore I can't try refresh the flows there.

    Therefore, my suspicion is that the production app is not seeing the newly set Run As users.

    Any ideas?

  • nksse Profile Picture
    66 on at
    Re: Users being asked to sign in when flows all have Run As users

    Thanks @WarrenBelz.

     

    That seems to have been the issue. The steps I think fixed the issue were:

    1. Ensure all flows in staging have Run As users set
    2. Refresh all flows in the canvas app (I assume this step loads the 'new' config into the app)
    3. Export the app from staging and re-import the new version to production
  • Verified answer
    WarrenBelz Profile Picture
    148,805 Most Valuable Professional on at
    Re: Users being asked to sign in when flows all have Run As users

    Hi @nksse ,

    The other part of the question was if you did this before you attached the Flow. If not, you need to get those connections out of the App as they will still be there. I have apps with the same settings in Flows which work fine as long as the Flow is added after the connections are configured.

  • nksse Profile Picture
    66 on at
    Re: Users being asked to sign in when flows all have Run As users

    Hi @WarrenBelz 

     

    I've set the Run As user on the Details page of each flow. In this flow, the integration user (crossed out in blue) built the flow and shared it with me (crossed out in green).

    nksse_0-1684830635401.png

    When I launch the app as the me, it wants me to sign in to create two connections.

  • WarrenBelz Profile Picture
    148,805 Most Valuable Professional on at
    Re: Users being asked to sign in when flows all have Run As users

    Hi @nksse ,

    As you using the Power Apps V2 connection then Run Only Users then Use this connection - or are you setting it some other way ? If PA V2, also did you connect the Flow after you made these settings ?

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1