Skip to main content

Notifications

Power Apps - Power Apps Pro Dev & ISV
Suggested answer

Connection error in Power Apps

(0) ShareShare
ReportReport
Posted on by 45
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

  • Suggested answer
    Ajlan Profile Picture
    Ajlan 90 on at
    Connection error in Power Apps
    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 🎉

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard