web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : HFHCkJtOoM6qxxrP9UP8gG
Power Automate - Building Flows
Answered

How to convert connection into connection references in the solution for the flow?

Like (0) ShareShare
ReportReport
Posted on 21 Jan 2021 09:40:36 by

Hello,

 

I have couple of flows in the solution in which different actions are using different connection with the single account. Therefore there are multiple connections utilized in the flow - which is as per the expectation.

 

However, I require to convert these connections into connection references - How can I achieve that?

 

Thanks,

  • DBaker1 Profile Picture
    20 on 09 Dec 2021 at 21:28:10
    Re: How to convert connection into connection references in the solution for the flow?

    Thanks!  This worked for me.  I wasn't able to see my connection references until I exported and imported the solution.

  • RyanCPerry Profile Picture
    32 on 01 Sep 2021 at 05:05:39
    Re: How to convert connection into connection references in the solution for the flow?

    Hi Dave. Not sure if you saw post, but per response below, there is a way around this. Export and Import as unmanaged to same environment.

  • RyanCPerry Profile Picture
    32 on 13 Aug 2021 at 21:48:52
    Re: How to convert connection into connection references in the solution for the flow?

    UPDATE: I've written a blog post descibing how to do this, along with some additional tips and tricks. See here: 

    https://helpfulbit.com/upgrade-flows-to-use-connection-references/



    Hi. As far as I can see, this question has not been answered to @dave8 's satisfaction. 

    My findings: If a flow is created manually outside of a solution, it uses connections. If it is then added to a solution, it still uses connections. I cannot find a way to change this. 

    If a solution flow is copied, it has to be manually re-added to the solution, and uses connections.

    This is very frustrating as it can cause dependency hell trying to import it to the target environment.


    I have not yet found any way to convert a flow using connections to use connection references instead.

    So far the only work-around I can see is to create a brand new flow and, in the case of copying, use the clip-board feature to copy the steps manually from the original flow.

     

    Granted, connection references are still a preview feature, but if MSFT is watching the thread, these are two separate items that could greatly improve the UX:

    1) The ability to copy a flow within a solution, with connection references intact. 
    https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Duplicate-copy-a-flow-within-a-Solution/idi-p/752370

     

    2) The ability to update flows to replace connections with connection references. 
    https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Replace-Connections-in-Flow-with-Connection-References/idi-p/1229312#M26136 (Newly added).

     





  • v-yiwenxie-msft Profile Picture
    Microsoft Employee on 29 Jan 2021 at 08:12:11
    Re: How to convert connection into connection references in the solution for the flow?

    Hi @dave8 

     

    So glad that you've find the solution yourself. If you don't have any other question, could you mark your own solution to help others find it more quickly.

     

    Best Regards,
    Community Support Team _ Kira Xie
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Verified answer
    Dave Wi Profile Picture
    on 28 Jan 2021 at 07:37:56
    Re: How to convert connection into connection references in the solution for the flow?

    As per my research and trial, I can confirm that connection reference can be updated only for new flow, and not for existing flow, even if it shows "Connection References" in the flow details.

     

    Even if I try to add new action in the same existing flow, it does not list new connection reference, it only shows connection references for the new flow.

     

    Hope this will be helpful for others!

     

    Thanks,

  • Dave Wi Profile Picture
    on 25 Jan 2021 at 16:26:51
    Re: How to convert connection into connection references in the solution for the flow?

    That's true @v-yiwenxie-msft , Thank you!

     

    does it mean that the flow must be from the original solution? actually, I have the flow in the "Solution2" which has been customized from the original "Solution1" by saving first outside the solution, therefore it has no "Connection Reference"

     

    Also, when I added, flow from the original solution, I was able to see "Connection References", however when I tried to apply connection reference in the same flow action, the newly created "connection reference" named "Connection Reference 1"  was not listed in the same solution as indicated in the following screen:

     

    error2.png

     

    any clue? 

     

    Thanks,

  • v-yiwenxie-msft Profile Picture
    Microsoft Employee on 25 Jan 2021 at 09:40:00
    Re: How to convert connection into connection references in the solution for the flow?

    Hi @dave8 

     

    It seems that you have chosen the flow not from a solution.

     

    Because if you choose a flow not from a solution, it will only show as 'Connections'.

    But if you choose a flow from a solution, it will show as 'Connection references'.

     

    1.25-18.PNG

     

    The connection references created in a solution can only apply to the flows in the same solution.

     

    Best Regards,
    Community Support Team _ Kira Xie
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Dave Wi Profile Picture
    on 25 Jan 2021 at 09:26:17
    Re: How to convert connection into connection references in the solution for the flow?

    Hi @v-yiwenxie-msft 

     

    I have created a new connection reference, which is not an issue here, however I was unable to apply the connection reference for the action in a flow residing in the same solution.

     

    There is no option to apply connection reference, perhaps because flow just says "Connections" instead of "Connection References" as indicated in the following screen:

    error.png

     

    Any clue?

     

    Thanks,

  • v-yiwenxie-msft Profile Picture
    Microsoft Employee on 22 Jan 2021 at 09:44:48
    Re: How to convert connection into connection references in the solution for the flow?

    Hi @dave8 

     

    You can create a new connection reference in solution and apply that connection reference to an action where currently connection is applied.

     

    For example, you can create a connection reference from here and use the connection in solution flow:

    1.22-2.png

     

    This is a new function, please go to the link to see more info about it: Connection references in solutions - Power Apps | Microsoft Docs

     

    Best Regards,
    Community Support Team _ Kira Xie
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Dave Wi Profile Picture
    on 22 Jan 2021 at 08:49:54
    Re: How to convert connection into connection references in the solution for the flow?

    Hi @v-yiwenxie-msft 

     

    Thank you for your response!

     

    Can you please share if I can create a new connection reference and apply that connection reference to an action where currently connection is applied?

     

    For example, "Action1" is using "Connection1" in the "Flow1" in the "Solution1", now, I create a connection reference called "ConnectionReference1" in the "Solution1" - Can I configure the "ConnectionReference1"  to existing "Action1" in the "Flow1" in the "Solution1"?

     

    Thanks,

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2