web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / PowerApps is requiring...
Power Automate
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.

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,521 Most Valuable Professional on at

    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

  • nliberato Profile Picture
    2 on at

    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
    69,521 Most Valuable Professional on at

    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.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 376

#2
Valantis Profile Picture

Valantis 361

#3
David_MA Profile Picture

David_MA 294 Super User 2026 Season 1

Last 30 days Overall leaderboard