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 / SQL Server using On Pr...
Power Automate
Answered

SQL Server using On Premises Gateway cannot retrieve tables

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am trying to connect Flow to a MS NAV 2018 Database.

 

I have installed the MS - On-Premises Gateway on an SQL Server. It has connected ok.


Annotation 2019-07-29 142343.jpg

When I connect using Powerapps the tables display and can be accessed as expected.

Annotation 2019-07-29 143143.jpg

 

However when using the same connection with Flow the tables cannot be retrieved.

Annotation 2019-07-29 141953.jpg

I tried using a custom value to directly table name. That still did not work.

 

Anyone have any ideas?

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    SQL Server triggers only work for SQL Azure Database table, but not SQL on-premises tables.

     

    As you mentioned, you are using SQL on-premises, so I am afraid that it cannot be used in your scenario.

     

    Please check the following blog for more details:

    https://flow.microsoft.com/en-us/blog/introducing-triggers-in-the-sql-connector/

     

    There is a similar request on Flow Ideas Forum, please vote it at here:

    https://powerusers.microsoft.com/t5/Flow-Ideas/Support-for-On-Event-Trigger-for-On-Premise-SQL/idi-p/90823

     

    Best regards,

    Mabel

     

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Mabel,

    Thanks for you reply. However that’s not the issue.

    I believe I have found my issue There are too many table in the SQL DB for Flow to retrieve. I have around 20,000 tables.

    If I enter the exact Table name I am after in Get Rows it works fine.

    Darren.

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Thanks for updating.

     

    That might be the cause.

     

    Glad to hear that you have figured out the issue.

     

    Best regards,

    Mabel  

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 604

#2
Valantis Profile Picture

Valantis 502

#3
Vish WR Profile Picture

Vish WR 417

Last 30 days Overall leaderboard