Skip to main content

Notifications

Power Automate - Using Connectors
Answered

SQL Server using On Premises Gateway cannot retrieve tables

(0) ShareShare
ReportReport
Posted on by

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?

  • v-yamao-msft Profile Picture
    v-yamao-msft on at
    Re: SQL Server using On Premises Gateway cannot retrieve tables

    Hi @Anonymous ,

     

    Thanks for updating.

     

    That might be the cause.

     

    Glad to hear that you have figured out the issue.

     

    Best regards,

    Mabel  

     

  • Verified answer
    Re: SQL Server using On Premises Gateway cannot retrieve tables

    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
    v-yamao-msft on at
    Re: SQL Server using On Premises Gateway cannot retrieve tables

    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

     

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics