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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Connecting to Azure SQ...
Power Automate
Unanswered

Connecting to Azure SQL Server through On Prem Gateway using AD Authentication

(0) ShareShare
ReportReport
Posted on by 14

I've been trying to setup a connection to an Azure SQL Server,

due to company policies, we are not allowed to open the firewall directly, so, we are going to use a On Prem data gateway to route traffic through. We already have the gateway, and we use it for PowerBI normally.

 

When setting up the connection in Power Automate, I don't get the option to select the gateway through AD connection, only if I select Windows Auth or SQL Server Auth.

 

How should I complete this connection?

 

Thank you,

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    If you are going through an on-premises gateway then the server you are connecting to is on-premises as well.  AAD authentication would be for Azure AD, which is only available in the cloud.  What you want is Windows Auth which will use the on-premises AD credentials.  That's why you don't see the gateway for Azure AD authentication.

  • andreanidouglas Profile Picture
    14 on at

    It is a prem-gateway, but to an Azure SQL, which does not have Windows authentication

  • andreanidouglas Profile Picture
    14 on at

    It is a prem-gateway, but to an Azure SQL, which does not have Windows authentication

     
  • Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    Azure SQL database or Azure VM running SQL?  I'm not sure you can connect to an Azure SQL database through an on-premises gateway.  I know you can connect to an Azure VM running SQL.  But that would act like an On-Premises server and use a local AD or Azure AD services so it would be windows Auth.

  • andreanidouglas Profile Picture
    14 on at

    Azure SQL

  • Pstork1 Profile Picture
    68,707 Most Valuable Professional on at

    To the best of my knowledge there is no way to use an on-premises gateway to connect to an Azure SQL database in the cloud using AAD.  

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard