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 Apps / Connection error in Po...
Power Apps
Suggested Answer

Connection error in Power Apps

(0) ShareShare
ReportReport
Posted on by 82
Hi all!
 

In Power Apps, I have a managed solution in the test environment containing an app and a flow. In the same environment, I deploy the solution.

After the deployment, when the user tries to upload a file, they receive the following error:

UploadFiles.Run failed: {"error":{"code":"0x80048d0b","message":"{"errorCode":"NotAllowedConnectionReference","message":"Connection reference 'shared_sharepointonline' can not be given by invoker.","correlationId":"04322e94-b55a-4575-809d-ed003f0f1065"}"}}

How can I resolve this?
Thanks

I have the same question (6)
  • Suggested answer
    Ajlan Profile Picture
    237 on at
    Hello,

    The error you're encountering suggests that the flow in your managed solution has a connection reference to a SharePoint connection (shared_sharepointonline) that cannot be invoked by the current user or is not properly set up in the target environment after deployment.
     

    Steps to resolve the issue:

    1. Check the connection references:

      • In the Power Automate flow, ensure that the connection to SharePoint (in this case, shared_sharepointonline) is properly configured. It seems that the flow is referencing a connection that isn't authorized or available to the user invoking the flow.
    2. Update or reconfigure connection references:

      • When a managed solution is deployed to a new environment, the connection references (like the one for SharePoint) may need to be reconfigured in that environment. These references do not carry over automatically as actual connections between environments.


    Cheers 🎉
  • JD-26060753-0 Profile Picture
    21 on at
    @FR-27081326-0 - Were you able to resolve this? As I am facing the same issue.
  • AS-18021550-1 Profile Picture
    2 on at
    Has anyone found a solution yet? I have the same problem—how can I reconfigure my connections? The flow where the problem occurs should use a specific user's connection when someone triggers the flow via Power Apps.
     
    In my unmanaged solution this is perfectly working but not in the managed.
  • MM-28010836-0 Profile Picture
    2 on at
    @Ajlan @Kalathiya did you find the solution yet?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard