cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SeanTCG
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?

3 REPLIES 3
SeanTCG
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"...?

v-bacao-msft
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.

Like:

138.PNG

 

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

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (4,151)