Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

How to reconnect flows in a canvas app after import



I have a solution with a canvas app inside inside which there are severals flows triggered by button. I want to move the solution from DEV environment do TEST environment. As you may know, there are some limitations of solutions especially regarding instant flows:


As a result after importing solution to the TEST environment in my canvas app there are broken connections to the flows:



I wanted to simply remove every single connection and add new one by pressing Action -> Power Automate and choosing right flow however once I do it I get the error:



Do you have any idea what I am doing wrong? Or maybe should I do it differently?


Hello @Termigez1 


Are your Flows inside the solution as well? Please try adding the Flows to the solution.

I am not seeing any limitations in having Power Apps Trigger Flows, and Button Flows (Child Flows) inside a solution:




Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up

Proud to be a Flownaut!

Check out my blog for Power Automate tips,
tricks, and guides

Super User
Super User

@Termigez1 As @Jcook mentioned all the Flows triggered from your Power App must be inside the solution and also the connections that these Flows must also be inside the solution. E.g. If the Flow is using OneDrive For Business, then make sure that connection is also part of the solution.

With this if you Import/Export from one Environment to another, you need not re-connect the Flow in the target Environment. This limitation does not exist anymore.

But there is one very important thing: If this App is shared with other users, for them to be able to trigger the Flows, they must be assigned a Security Role and that Role must have the following Permissions. This is set in in the Customization tab (in the Target Environment).





Hope this helps!


Please remember to give a 👍 and accept the solution as it will help others in the future.

Helper I
Helper I

@CNT All the flows are indeed inside the solution, however I have doubts over connections. The import wizard before letting me import the solution asks for re-establishing connections as below:


So I have to create new connection in a TEST environment and select them there.


Does it mean that my solution lacks connections from DEV environment and this is why Power Apps asks me to create new one and there may be a conflict here? And a solution to my issue may be just adding connections to the solution on DEV environment and then export and import new package to the TEST environment?



I checked my solution on DEV and there are connections in my solution as you can see below:





    One thing I forgot to mention: All Dataverse Tables & Choices must also be added to the solution.

    Regarding connections, if you look at the example below, I have a flow (Test OneDrive Flow) which uses the OneDrive for Business connector. To add this connection to the solution, I click on the ellipses and select Add required components. This will automatically add a Connection Reference to the OneDrive for Business connector.



To understand this better, I would suggest you to build a Test Solution with one App, a few tables, flows etc., and test it out.

It's not that scary as it appears but it is important that its set up properly from the beginning.


Hope this helps!


Please remember to give a 👍 and accept the solution as it will help others in the future.

I issued a ticket to Microsoft and was pointed to this url. This actually worked for me!

One question though: assigning this roles will affect the license of the users? My app is triggering Flows but using data in Sharepoint therefore the users are leveraging license from M365 standard contract.

How do we do this?

All Dataverse Tables & Choices must also be added to the solution.


I have added the flows and required objects in the solution but still not able to import it correctly.





Seems related to this resolved but not resolved issue

"Canvas apps that trigger flows no longer require editing the app to re-establish the connection to flows after importing a solution."

Helpful resources

Top Solution Authors
Top Kudoed Authors
Users online (4,108)