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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Switching actions(exec...
Power Automate
Unanswered

Switching actions(execute SQL) connections dynamically

(0) ShareShare
ReportReport
Posted on by 7

I was wondering if it is possible to switch the Connection of a Connector at run time, based on the outcome of a previous step in a flow.

 

I am building a flow that need to get data from different database connection.

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Instead of using a database connection, you can choose to execute your sql using a connection string and set the connection string value based on your outcome of the previous step.

  • an_newbie Profile Picture
    7 on at

    Hi, Rikke thank you for your answer. By my example, you mean that I can switch the connection when running? If yes, can you tell me more details or kindly give me an example. Sorry i'm quite new to Power Automate.

    Untitled.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard