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 / Is there any way to av...
Power Apps
Answered

Is there any way to avoid re-add the conncetions in the canvas app after deployment?

(0) ShareShare
ReportReport
Posted on by 174

Every time I deploy my canvas app from my dev environment to a higher environment (in a managed solution) - my Flows used in the canvas app does not work anymore. To fix it, I have to press "edit", remove the connections to all my flows, then adding them back again.

 

After doing this - which is very cumbersome - then everything work alright again.

 

Why is it like this and is it any way to get around this problem?

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    Yes, with the latest release to the PowerApps CLI, you can pre-load your solutions with connection references. Pre-populate connection references and environment variables for automated deployments using Power Platform Build Tools - Power Platform | Microsoft Docs

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Kran ,

     

    After you import the solution into the new environment, is flow on or off ?

    At my knowledge, If the flow is turned on,   please check your security role 's  solution and process permission. 

    vxiaochenmsft_0-1640330492653.png

     

    If not, I guess it's due to the connection reference.

     

    Best Regards,

    Wearsky

     

  • kranis Profile Picture
    174 on at

    First I want to understand if it is expected behaviour that I always need to remove the connections within my canvas app and then add them back after each deployment?

     

    My flows (which all are triggered from within the canvas app - uses connection references)

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @Kran ,

     

    No , you don't need to do that.

     

    Best Regards,

    Wearsky

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 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard