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

Community site session details

Session Id :
Power Apps - Power Apps Governance and Administ...
Suggested answer

How to Connect Power Platform Apps to On-Premises SQL Server using Data Gateway?

(0) ShareShare
ReportReport
Posted on by 105

We are currently hitting the 5,000-item limitation in SharePoint lists and want to move our data layer to SQL Server. Our SQL databases are hosted on-premises, and we’re evaluating the use of the On-Premises Data Gateway to bridge Power Platform apps (Power Apps, Power Automate, and SharePoint Framework) with SQL Server.

 

Our main objectives are:
Install and configure the On-Premises Data Gateway.

Enable secure and reliable connectivity to SQL Server databases (Dev/UAT and Prod).

Ensure integration with Power Apps (via SQL connector), Power Automate (SQL actions like Get Rows/Insert Row), and SPFx (via REST APIs or custom connectors).

Address licensing and security considerations (e.g., Premium license requirements, admin rights for gateway installation).

Questions to the community:

 

What are the best practices for installing and configuring the On-Premises Data Gateway for SQL Server?

Are there specific security considerations we should keep in mind (admin roles, Azure AD, token-based access, etc.)?

Has anyone integrated SPFx web parts with SQL Server through the gateway? If yes, how was the experience?

Any guidance on licensing (Premium connector requirement) for this setup?

Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    50,209 Super User 2025 Season 2 on at
    How to Connect Power Platform Apps to On-Premises SQL Server using Data Gateway?
     
    So, unfortunately this isn't the support for Data gateway itself. 
     
    However here is what you asked
     

    What are the best practices for installing and configuring the On-Premises Data Gateway for SQL Server?

    --This would require going to the Fabric / Power BI Side to talk to them as this isn't that support channel. I can say from personal experience.. there is no real such things as "best practices" respectively, as its an install.. Its a simple install, configure it, create its counterpart in the cloud and secure it, use it per se, but there are definitely some things to avoid and connection configurations to take into account, but this is related primarily to the app and SQL not so much the gateway exactly.

    Use Microsoft SQL Server securely with Power Apps - Power Apps | Microsoft Learn

    Now the other thing is whether you run it in Personal Mode or Recommended Mode. You are a business, so its a no brainer, its Recommended mode since you want to connect using power apps and have others do it, versus personal which would just be available to literally you only.

    Of course you will have to make sure your DMZ allows the port traffic in and out etc but thats a Firewall Infrastructure issue not a gateway issue. 

    Also make sure you pick the best region or support it in multiple regions

     

    Are there specific security considerations we should keep in mind (admin roles, Azure AD, token-based access, etc.)?

    --Again not really a power platform question, but I really recommend you start here

    On-premises data gateway architecture | Microsoft Learn

    On-premises data gateway FAQ | Microsoft Learn

    Pricing for services supported by the data gateway | Microsoft Learn

     

    Has anyone integrated SPFx web parts with SQL Server through the gateway? If yes, how was the experience?

    In all my decades I have never been asked to do this with a SharePoint extension... I am sure.. maybe someone tried it, but I do not know why they would per se since the SharePoint HTML DOM.. I dunno I'd have to check if you can even do it, versus embedding a site component so I cannot answer this one much.

     

    Any guidance on licensing (Premium connector requirement) for this setup?

    --The gateway itself has no impact on connectors whether they be premium or not, its the platform (PP) and the back end you are connecting too that determines it.

    Connect to SQL Server from Power Apps overview - Power Apps | Microsoft Learn

    SQL Server - Connectors | Microsoft Learn

    Do not ask me why Logic apps is listed as Standard but Power Apps is Premium.. lol it makes no "logical" sense to me

     


    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 790 Most Valuable Professional

#2
developerAJ Profile Picture

developerAJ 473

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 383 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics