Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Only one SQL Server connection available in action Server Name

I have two SQL Server connections created, each to different servers, each using different credentials.  The first is owned by another user, the second I created.  All connections are using Gateways.  I know the connection I created works because I use it for multiple operations in PowerApps.  It's status is "Connected".  However, when I attempt to insert an SQL Server action such as Get Rows (v2) in my flows, only the server in the first connection is available in the Server Name dropdown.  Is there another step I may be missing to make this connection accessible in Flow?

Regular Visitor

Some more playing around reveals some kind of global context change?

I tried using a Flow template that uses a SQL Server connection - I think it was Get Email on Row or something like that - and that interface has an explicit selection of "This Flow will use this connection" whose dropdown listed both my SQL Servers.  I selected my second connection, but then exited.  Now, when I go to create or edit my flows, the second connection is now available to select for the server.  But the first connection is no longer listed.

It's like Flow will only list one of multiple connections, and which connection is listed is dependent upon some sort of "last selected"...?

Community Support
Community Support


Hi @SeanTCG ,


First, you need to make sure you have sufficient permissions to use the specified connection.

Second, if you can't get the Server Name from the dropdown list, please consider clicking Enter custom value and entering the Server Name directly.




Best Regards,

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

As described above, I created the 2nd connection, and am the Owner. 

Also, the connection is available when choosing the connection to use for a template.  As described above, I was able to use that interface to change the connection for the template, after which it became the only connection available to use in the Flow.

Unfortunately, even though that would seem to indicate progress, when I test this Flow it fails due to Unauthorized.

So now my state is that I can select the connection I could not previously see, but despite that the credentials don't seem to have travelled.

This just seems very broken.

Helpful resources

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Top Solution Authors
Top Kudoed Authors
Users online (3,930)