Showing results for 
Search instead for 
Did you mean: 

failed to get dynamic schema - using Execute Query action in SQL server

I am receiving the following error when I connect to this particular SQL server, though the connection is well established.


I am ending with this error when I choose Execute SQL Query action. However, when I choose an other action like for example Execute a Stored Procedure with the same SQL server connection it is working perfectly fine. 


Please somebody help me with thisCapture.PNG

Super User
Super User

Hello @mounikakadiveti 

I just read something about that if the return from the query only is one row, the dynamic information is not available.

Could you try and select the top 2 rows and see if anything changes?

Kind regards, John

Hi @JohnAageAnderse 


I tried to retrieve top 10 but still I get the same error

I seem to be having the same issue. Does anybody have a response?

Helpful resources

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (74,831)