Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

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

 

  • Verified answer
    abm abm Profile Picture
    32,464 Most Valuable Professional on at
    Re: Connecting to SQL via Gateway - Token Error

    Hi @Blair24 ,

     

    This might be useful

     

    https://powerusers.microsoft.com/t5/General-Flow-Discussion/Problems-when-trying-to-Mark-an-email-as-read/td-p/117506

     

    Thanks

  • abm abm Profile Picture
    32,464 Most Valuable Professional on at
    Re: Connecting to SQL via Gateway - Token Error

    Hi,

     

    Glad that resolved your gateway error.

     

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

     

    Thanks

  • Blair24 Profile Picture
    25 on at
    Re: Connecting to SQL via Gateway - Token Error

    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?

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard