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 Automate
Unanswered

Won't connect to SQL

(0) ShareShare
ReportReport
Posted on by 2

Despite the plethora of information it gives you about the nature of the connection failure, I can't see this being any more straightforward. Any thoughts?

 

 

connect_error.png

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,601 Most Valuable Professional on at

    Since the name is SQLExpress I assume this is an instance of SQL running on your laptop or workstation.  That means its on-premises and the only way that Flow will be able to connect to it is using an on-premises gateway.  But you don't have that checked.  Install a gateway and try again.

  • nghastings Profile Picture
    2 on at

    Yes, I'm testing it on a local environment, and definitely learned this today. Unfortunately our company created accounts with an outlook.com extension, so I don't have the requisite 'work' email necessary to install the gateway.

  • Pstork1 Profile Picture
    69,601 Most Valuable Professional on at

    Are you using the Outlook.com address for Access to Flow?  If so you probably wouldn't have the premium license required to install a gateway anyway.

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

     

    Hi @nghastings ,

     

    If you want to create an On-Premises connection, you first need to install Gateway. Please refer to Online doc for more details:

    https://docs.microsoft.com/en-us/flow/gateway-manage

    Then check if the license currently subscribed to the account used by MS Flow meets the requirements.

    Users with a Standalone Flow license subscription can create an On-Premises connection. For example, Flow plan1/plan2.

    In addition, you need to click Connect via on-premises data gateway, then edit the parameters required here, such as SQL server name and Database name.

    If the authentication type you use is Windows, UserName needs to be Domin\username.

    Please try again.

     

    Best Regards,

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard