Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - AI Builder
Answered

SQL Server Connection References

(3) ShareShare
ReportReport
Posted on by 6
Hi All,
 
I have a Power Platform Solution that has Power Automate flows using connection references that are pointing to on-prem sql servers.
 
My requirement is to move data from an on prem SQL Server (The source) and push that to 4 separate on premise SQL servers. These 4 separate servers have databases that are identical.
 
I created 2 connection references, 'source' and 'target'. I was thinking that I would be able to configure/update the target connection reference to point to the next server. When I make this change, it seems to corrupt all of the flows. Our only way forward seems to be, create all new flows. Am I misunderstanding how the connection references work? Does anyone have advice on how I can parameterize the target database connections?
 
Any advice appreciated,
 
Thanks,
 
Philip
 
Categories:
  • Verified answer
    Michael E. Gernaey Profile Picture
    Michael E. Gernaey 34,397 Super User 2025 Season 1 on at
    SQL Server Connection References
    Hi
     
    A connection reference uses a Connection as its base, essentially its a pointer to a pointer.
     
    You have to have 5 connections and 5 connection references.
     
    because you have 5 servers, you need those 5 connections, and in your flow you use them all so 5 connection references, 1 per connection.
     
    Not 2. Think of it this way.
     
    A Connection has tons of details/memory/configuration etc.
    the references simply make it so that in your flows and in your solutions you aren't constantly creating new connections, but instead references can be made to that Connection from anywhere and you still only need 1 connection.
     
    Cheers,
     
     

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

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

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,398 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,274 Most Valuable Professional

Leaderboard