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 / [Error] Connection Ref...
Power Automate
Suggested Answer

[Error] Connection Reference cannot be given by invoker

(0) ShareShare
ReportReport
Posted on by 2
r/PowerApps - [Help] Connection Reference [Connection Name] cannot be given by invoker
 
 
The app has a simple form that takes in input from the end user and invokes a flow [Flow_Create_Request_2.0]. This flow has a V2 Trigger that takes in all the information and with elevated accesses (My Access) adds them to a sharepoint list.
 
 
For context:
 
- The user facing this issue has the same environment maker status as I do
- The user also has access to the sharepoint list edit and read
- The user also is in the same department as I am, as per the platform admin portal.
- I am the owner for each flow in the Solution, and everyone is using my connection in the flow.
 
 
Would love to hear any thoughts, general direction to look at, or possibly the solution to this error! Thank you everyone.
I have the same question (0)
  • Suggested answer
    Sunil Kumar Pashikanti Profile Picture
    2,318 Moderator on at
     
    Why you can run it but others cannot?
    This happens because the flow inside your Solution uses a connection reference that belongs to you. When you run the app, the flow uses your fixed connection, so everything works.

    But when another user presses the same button:
         Power Apps calls the flow as the app user (the invoker)
         The flow requires a connection reference owned by you
         Power Apps refuses to pass that connection
    You get:
         “Connection reference … cannot be given by invoker.”
     
    This is expected behavior when using:
         Solution-aware flows
         Power Apps V2 trigger
         Shared connection references

    Multiple Fix Options:
    1. Configure “Run‑Only Users”
    This is often the most correct and simplest fix.
         Open the flow inside the Solution
         Go to Run‑only users → Edit
         For each connection used in the flow, set:
              Use this connection (your@domain.com) (NOT “Provided by run-only user”)
    Result:
    Every user who triggers the flow uses your pre-selected connection, not their own. This completely avoids the “cannot be given by invoker” error.
     
    2. Use a Service Account (Best practice for enterprise apps)
    This avoids future failures if your password changes or you leave the team.
         Create a service account (e.g., svc_powerplatform@domain.com)
         Create the SharePoint and Dataverse connections under that account
         Assign proper permissions in SharePoint & environment
         In the flow’s Run‑only users settings, choose:
              Use this connection (service account)

    Now all users trigger the flow using the same stable connection.
     
    3. Refresh the Flow in Power Apps
    Sometimes Power Apps caches an outdated version of the flow’s connection reference.
    To refresh it:
         Go to Power Apps Studio
         Remove the flow from Data → Flows
         Save the app
         Add the flow back again
         Save & publish
    This forces Power Apps to re-register the corrected connection reference.
     

    ✅ If this answer helped resolve your issue, please mark it as Accepted so it can help others with the same problem.
    👍 Feel free to Like the post if you found it useful.
  • CU11030702-0 Profile Picture
    2 on at
    Thanks for taking the time to respond. I have already set up run only users and made sure that they're only using my connections to run the flows. I have done the same for each and every flow that is manually triggered within the app.
     
     
    Also, the user is getting this warning in their Power Apps Studio: "One of more commands are unavailable due to your current privileges for this env"

     
    Any suggestions??
     
  • WillPage Profile Picture
    2,339 Super User 2026 Season 1 on at
    @CU11030702-0 I also have the same issue. Flow is connected to app, which is shared with multiple people. All the connections are set to "use this connection" none are provided by run-only users. Some people get this error while others do not. Same app, same, flow, same solution, same environment. I think it's a bug with Power Platform.

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
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard