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 Connection Problems
Power Automate
Answered

SQL Connection Problems

(0) ShareShare
ReportReport
Posted on by 107

Hello, 

 

I'm just getting into flow and really enjoying what it can do for me and my team. Just before getting into this app, I begain using Excel Power Query to access some SQL database tables. I am able to connect to this database through Excel with no issue using simply my Windows login credentials on my company network.

 

I can see some great uses for comibining the two and I was thrilled to see that Flow has a connection for SQL server data. I tried to fill out the credentials in the Connection screen (using Windows credentials) but I always run into the following error:

 

"The caller with object id 'XXXX...' does not have the minimum required permission to perform the requested operation on connection 'XXXX...' under API 'shared_sql'.

 

The is clearly a permission issue and I assume I should get in touch with my system admin. My question however is how is the connection to the server using Excel so effortless whereas Flow continuously hits this wall? For reference, I have a previously set up data gateway for my "File System" connection which is working well.

 

I appreciated any help that can be offered here.

 

 

 

Categories:
  • Anonymous5 Profile Picture
    107 on at

    Hello again,

     

    Small update here. I was able to establish the connection by starting over and including my "domain" with username field. Now however when I try to use the Power Query action, I am met with the following:

     

    "An exception occurred: You do not have permissions for the on-premises data gateway. Please request permissions from the owner of the gateway."

     

    This seems strange as I am the owner of the gateway. Is there something I am missing here?

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

     

    Hi @Anonymous5 ,

     

    You can follow the steps provided in the link below to troubleshoot, please check these links and see if it helps:

    https://docs.microsoft.com/en-us/flow/gateway-reference#troubleshooting

    https://docs.microsoft.com/en-us/power-bi/service-gateway-onprem-tshoot

    Besides, you could try to update it to the latest version and recreate a Gateway, then recreate the SQL connection as before, and finally test if Power Query is available.

    Ensure that the Gateway and connection are working properly during the test.

     

    Please try again.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 231 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 170

Last 30 days Overall leaderboard