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 / Connecting to SQL via ...
Power Automate
Answered

Connecting to SQL via Gateway - Token Error

(0) ShareShare
ReportReport
Posted on by 25

Hey Folks,

Getting the following error when trying to connect to an on prem SQL connection via the gateway.
The gateway is up and running, Power BI and other PowerApps/FLows are connecting to it fine but when I try to create this new flow I get the following error - not something I've came across before...?


Error.PNG

 

Categories:
  • Verified answer
    abm abm Profile Picture
    33,004 Most Valuable Professional on at
  • Blair24 Profile Picture
    25 on at

    Hey @abm,


    That seems to work - thanks!

    Got a second error now, I know Flow & PowerApps requires SQL to have a primray key - which this table has, but Flow is stating that it doesn't, have you came across this before?

  • abm abm Profile Picture
    33,004 Most Valuable Professional on at

    Hi,

     

    Glad that resolved your gateway error.

     

    Could you post a screen grab of your flow and error?

     

    Thanks

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 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard