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

Notifications

Announcements

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 69
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 (2)
  • Suggested answer
    Ajlan Profile Picture
    235 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.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard