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 :
Power Automate - General Discussion
Answered

"Use Connection Settings" not an option in SQL actions

(1) ShareShare
ReportReport
Posted on by

We have two flows that can be triggered within a Power App.  Each flow has one or more SQL connector steps ("Execute stored procedure," "Get rows (V2)").  We are building in a dev environment and moving the solution to a staging and then production environment.  The problem is we have to manually change the server name before or after this move to point to the correct server.

 

In an older flow we made with a SQL stored procedure step, the Server name drop-down had the option "Use connection settings".  This meant that when the solution was imported into another environment, the connection reference would point to a different SQL connection, and everything just worked. 

schenley_0-1709672493083.png

 

Does anyone know why this option isn't showing up for these newer flows?

schenley_1-1709672571820.png

 

schenley_2-1709672579477.png

 

We did set up a variable to hold the server name, so that in our flow with multiple SQL steps we only have to change it in one place.  But this is still not ideal. 

I have the same question (0)
  • jjacquet Profile Picture
    21 on at
    Re: "Use Connection Settings" not an option in SQL actions

    Struggling with this right now as well. Had an app we are trying to deploy from DEV > PRD and realizing this option no longer exists. This feels important.

  • Verified answer
    schenley Profile Picture
    on at
    Re: "Use Connection Settings" not an option in SQL actions

    I figured out what we needed to do. 

    I added an Environment Variable ("[Project]ServerName") to the Solution, set to the dev server name.

    Then in the flows I was able to replace the server name values with the Environment Variable. 

     

    When I deployed to staging and production, I was able to change the Environment Variable value to the correct server names. 

    Things have been moving smoothly! 

  • jjacquet Profile Picture
    21 on at
    Re: "Use Connection Settings" not an option in SQL actions

    This is great - thanks for coming back to the post to share this, really appreciate that contribution!

     

    Wish our typical pattern hadn't been disrupted, but sometimes unavoidable I suppose.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard