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 / Failed to retrieve dyn...
Power Automate
Answered

Failed to retrieve dynamic inputs when executing a SQL query

(0) ShareShare
ReportReport
Posted on by 5

I am attempting to run a SQL once every 30 days with power automate but I get this error message shown in the screenshot.

Bryer_0-1713996359253.png

 

Categories:
I have the same question (1)
  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at

    It's a long standing (and infuriating) limitation for on-prem SQL Server.  Use a stored Procedure call instead.

  • Bryer Profile Picture
    5 on at

    A stored procedure meaning what?

     

  • Verified answer
    lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at

    In your SQL Server database create a stored procedure containing your query . Then call that from Power Automate

     

    lbendlin_0-1714076878285.png

    That will avoid the error message.

  • duncfair Profile Picture
    54 on at
    There is no option to use a stored procedure, only table. 
     
     
  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at
    "Update Row"  is the wrong action.  Create a stored procedure that runs UPDATE statements in your SQL server. Then use the "Run a stored procedure"  action.

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard