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

Flow doesn't correctly use data connection that is associated with action

We have a on-premise gateway configured which allows us to connect to our local databases without a problem.

However, the issue lies when we attempt to connect to our Azure SQL databases to retrieve data, more specifically to any other connections that we have set up. We have discovered that when using any of the SQL Server type actions, even after we specify the connection of that action to point to use the connection to Azure SQL, the connection that is always used is the one we have set up for the on-premise database.


We are not sure if this is specific to the on-premise gateway or the fact that in our configurations, this was the first connection that appears on "My connection" list under the action. It seems that the bug here is that the first connection in the list will be called no matter what the case.

Solution Sage
Solution Sage

Re: Flow doesn't correctly use data connection that is associated with action

Hi @nikolakocic ,

Could you please share a screenshot of your issue?

As you said, the action will always select the connection which is the one you have set up for the on-premise database, right?

Please try to change the connection via the steps below:


Best Regards,

Community Support Team _ Zhongys

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

Helpful resources


Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (6,951)