Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Only one SQL Server connection available in action Server Name

(0) ShareShare
ReportReport
Posted on by 10

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?

  • SeanTCG Profile Picture
    SeanTCG 10 on at
    Re: Only one SQL Server connection available in action Server Name

    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.

  • v-bacao-msft Profile Picture
    v-bacao-msft on at
    Re: Only one SQL Server connection available in action Server Name

     

    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,

  • SeanTCG Profile Picture
    SeanTCG 10 on at
    Re: Only one SQL Server connection available in action Server Name

    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"...?

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard

Featured topics