web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issue with SQL Managed...
Power Automate
Unanswered

Issue with SQL Managed Instance connection and service principal

(1) ShareShare
ReportReport
Posted on by 4

Hi,

 

I am developing a new flow that needs to perform a query in one of our cloud SQL Managed Instances. The SQL MI has been configured to use Service Principal authentication type and currently we are being able to connect to it from SSMS using service principal.

 

When I define the connector, Power Automate says the connection is alive, but when trying to use that connection from a flow, we are getting a few error messages like these:

  • 'Failed to retrieve dynamic outputs. As a result, this operation's outputs might not be visible in subsequent actions. Error details: The gateway did not receive a response within the specified time period. Cannot fulfill the request to the remote server.'
  • 'The gateway did not receive a response within the specified time period. Cannot fulfill the request to the remote server.'

 

Some screenshots are attached showing this problem. Hopefully someone gets to help me as there has been a couple of days since I can't find a solution.

 

Ulises.

Untitled2.png
Untitled1.png
Untitled3.png
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,928 Super User 2025 Season 2 on at

    Hi @UlisesPedrozo 

     

    Are you using the Microsoft Data Gateway, since its onprem?

     

    Do you have the Gateway configured to run/use as a Service Principal so that when it makes the calls etc it works?

     


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • UlisesPedrozo Profile Picture
    4 on at

    Sorry for the misunderstanding, it is not an on-prem SQL Managed Instance, so there is no possibility to use any Gateways.

     

    Hope this information helps.

     

    Thank you,

    Ulises.

  • Michael E. Gernaey Profile Picture
    53,928 Super User 2025 Season 2 on at

    Hi @UlisesPedrozo 

     

    Yeah I noticed you said its a Cloud instance, but the error is clearly thinking you have a Gateway, do you use a Gateway for other stuff? Any chance its accidentally being used?


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard