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

Memorable Member
Memorable Member

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

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,953)