Hello,
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:
https://docs.microsoft.com/en-us/powerapps/maker/data-platform/solutions-overview
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:
Proud to be a Flownaut!
@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.
@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?
EDIT:
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.
HI @CNT
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.
Thanks!
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."
User | Count |
---|---|
121 | |
88 | |
88 | |
75 | |
66 |
User | Count |
---|---|
217 | |
180 | |
138 | |
96 | |
73 |