I've created a solution, containing 4 flows. Originally they weren't all created within the solution and some used connections rather than connection references. I've subsequently rebuilt them all from scratch, within the solution, using connection references.
Several of the connection references are used across all 4 flows. All of the connection references are included in the solution.
But, when I export the solution, and import to a different environment, all the connection references in two of the flows get broken and those two flows aren't switched on.
When I go into the broken flows, the connection pane shows "There aren't any connections for this flow.".
When I go to edit the flow, it shows me the connections required (before I get into the actual editing screen) for me to create the missing connections, but it doesn't allow me to choose connections already created, only to create new ones, and it appears to be creating connections rather than connection references.
The connections it prompts for are approvals (which then fails to create a connection - "failed to create simple connection"), SQL server, and Dataverse. The latter two create new connections which means I'm duplicating as I've already got the same connections set up for the other flows that did work ok. I spent time last night going through all the connections in the source solution making sure they were all using the same connection references across all the four flows. But it looks like somewhere in the export/import process that's getting broken for all the connection references in two of the flows. Same connection references in the other two flows import ok though.
Anyone got any ideas what I'm doing wrong?