Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

PowerApps is requiring permission for connection reference

(0) ShareShare
ReportReport
Posted on by 2

I created a flow that sends an email using the "Send Email (V2)" process and is using an environment variable connection reference within a solution. The connection reference is a service account email for Office 365 Outlook. Nothing complicated:

nliberato_0-1705013664027.png

When a first-time user opens this app (App #1), it is asking permission for this Office 365 connection reference (and under their email):

nliberato_2-1705013875025.png

My issue is that another one of my coworker's PowerApps (App #2) is not asking for permission for this connection reference even though the set-up for the connection reference is similar:

nliberato_3-1705014068312.png

 

We could not figure out how they were able to bypass the permission?

The users are sending/receiving emails from the service account completely fine in App #2 (with the From field in the email showing "Service Account").

Is it the way the app calls the flow? Their flow doesn't use inputs from PowerApps, but my flow does pass inputs from PowerApps.

 

There are no security roles set for the users who are using App #2 in the PROD environment, and mine seems to require permission when a shared user tries to call this flow in the TEST environment:

nliberato_0-1705014977339.png

 

 

I've even tried replicating their schema for the flow with a new app, but the app automatically adds this connection reference and is asking for permission.

  • Pstork1 Profile Picture
    66,966 Most Valuable Professional on at
    Re: PowerApps is requiring permission for connection reference

    You need to reset the connection reference when you import the solution.  But the specification that it use the maker selection shouldn't be cleared.  Also, you aren't setting the connection reference, you are setting the connection the connection reference will use.

  • nliberato Profile Picture
    2 on at
    Re: PowerApps is requiring permission for connection reference

    So, setting the run only user to use the connection reference wouldn't ask for permission? It's currently set to the connection reference's email in our DEVL environment, but when I import the solution in TEST, it looks like it clears it away.

  • Pstork1 Profile Picture
    66,966 Most Valuable Professional on at
    Re: PowerApps is requiring permission for connection reference

    Is the flow you built in a Solution and did you set the Run only user setting to use the maker's connection or did you leave it to the default Provided by the run only user?  Changing this setting will cause the flow to use the maker's connection and the users using the app will not be prompted for permission.

    image.png

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May 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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics