web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How can I connect to S...
Power Automate
Answered

How can I connect to SQL link Server for Power automate

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Everyone,

 

I am trying to connect SQL link server to Power automate, but I do not know how to start. Can anyone help?

 

Many Thanks 

Emorn

Categories:
  • eric-cheng Profile Picture
    5,171 on at

    Hi @Anonymous ,

     

    Can you confirm that you are trying to connect to your SQL server which is then linked to another SQL server and that your end goal is to execute a query on the linked server?

     

    Are the SQL servers on premise / in a private network or publicly available in Azure?

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Eric,

     

    Yes that is right  below is my SQL map 

     

    EmornKui76_0-1628843716174.png

     

    I would like to be able to pull out any of the tables below. Can you help?

     

    Many Thanks 

    EMorn 

     

  • Verified answer
    eric-cheng Profile Picture
    5,171 on at

    Hi @Anonymous ,

     

    Is your SQL on prem or in Azure?  Looking at the screenshot, it looks to be on premise which means you won't be able to use SQL query via the data gateway. 

     

    You can look into calling a stored proc that is on the server you have created the connection for and see if you can query your linked server that way?  I know the stored proc executed via SSMS will execute the query successfully against the linked server.  

     

    ericcheng_0-1628846827831.png

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

     

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard