Skip to main content

Notifications

Community site session details

Community site session details

Session Id : cf1CfkQTefYJfD+nvnooBL
Power Apps - Building Power Apps
Unanswered

connections when exporting/ importing Solutions

Like (0) ShareShare
ReportReport
Posted on 21 Apr 2023 22:27:06 by 54

I've noticed that when I export a flow I created in my Development Sandbox environment using my connection ID, I then have to fix the connections after I import the flow into the company's Live environment.

 

In the Flow is gives the warning that I should be using connection references.  I haven't been able to figure out how to do this (so that I do not have to manually fix the connection after I import the flow into the Live environment).

 

how would I do this.  Thanks

Rtc

  • rcapone Profile Picture
    54 on 24 Apr 2023 at 14:33:46
    Re: connections when exporting/ importing Solutions

    I've used Environmental Variables for the Site and List/Documnet Library successfully; as well, then created a Connection Reference when using those Env Variables in a Flow.  What I need to do is create a Connection Reference that I can using instead of my Connection ID.

  • Pstork1 Profile Picture
    66,135 Most Valuable Professional on 21 Apr 2023 at 23:21:03
    Re: connections when exporting/ importing Solutions

    That is correct up to a point.  The flow does need to be in a solution and be solution aware.  If you import the flow into the solution you need to remove the connections and replace them with connection references.  And the underlying system does require that a dataverse database be in the environment. But doing this in a solution doesn't require a Premium license even though it uses Dataverse infrastructure.  Its only when you create a Dataverse connection that premium comes in.

  • Zuccon Profile Picture
    45 on 21 Apr 2023 at 23:06:43
    Re: connections when exporting/ importing Solutions

    You can create a connection variable in the solution and use it in your connectors. This makes it easier to maintain your solution so you don't have to access each stream or application and perform the reference

    Zuccon_0-1682118162099.png

    Zuccon_2-1682118393772.png

     

    Zuccon_1-1682118246164.png

     

  • rcapone Profile Picture
    54 on 21 Apr 2023 at 22:37:25
    Re: connections when exporting/ importing Solutions

    thanks for the link.  It mentions that it is only available for â€śSolution-Aware” flows which rely on the solution framework provided by the Common Data Service - which I seem to recall is now called Dataverse (which is a premium connector).  

     

    have I understood it correctly? thanks

    Rtc

  • Pstork1 Profile Picture
    66,135 Most Valuable Professional on 21 Apr 2023 at 22:30:10
    Re: connections when exporting/ importing Solutions

    Take a look at this article on Connection references.  One of the key points is that they only work in Solutions.  It sounds like you are using non-solution aware flows.

    Move flows across environments without resetting connections! | Power Automate Blog (microsoft.com)

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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 - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 48 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 41 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 36

Overall leaderboard
Loading started
Loading complete