Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
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?

  • v-xiaochen-msft Profile Picture
    on at
    Re: Is there any way to avoid re-add the conncetions in the canvas app after deployment?

    Hi @Kran ,

     

    No , you don't need to do that.

     

    Best Regards,

    Wearsky

  • kranis Profile Picture
    174 on at
    Re: Is there any way to avoid re-add the conncetions in the canvas app after deployment?

    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)

  • Verified answer
    v-xiaochen-msft Profile Picture
    on at
    Re: Is there any way to avoid re-add the conncetions in the canvas app after deployment?

    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

     

  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: Is there any way to avoid re-add the conncetions in the canvas app after deployment?

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 75 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 51 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 36

Overall leaderboard