Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Microsoft Flows Stored Procedure with Powerapps Parameters

I am trying to pass start date and end date paramters from Powerapps button to FLOW using SQL Stored Procedure.

I get following error:
  "message""Invalid Mashup Expression using supplied values.\r\n     inner exception: Microsoft SQL: There is already an object named 'temp_enspire_inv_data' in the database.\r\nclientRequestId: b0dca59d-1081-492f-bbf2-075fc0783c5e",

However when I use Reoccurence as trigger in flow and manually pass paramter to the same stored procedure it run without any issues. 

Would it be possible to know if there is anything else I should know when passing paramters from Powerapps to Flow in order to execute stored proc?

Community Support Team
Community Support Team

Re: Microsoft Flows Stored Procedure with Powerapps Parameters

Hi @jshah,


Could you please share a screenshot of your flow's configuration?

Further, do you add a "Execute stored procedure" action of SQL Server connector within your flow?


The error message told that you have provided invalid values within the "Execute stored procedure" action of your flow. When passing date time (ShortDate) from PowerApps app to Microsoft Flow, the date time would be decorated as following Time format:


Please check if you have provided proper start date and end date with correct Time Format within the "Execute stored procedure" action of your flow.


Please check and see if the following thread would help in your scenario:


If you could provided more details about your scenario, we could provide a proper workaround for you.



Best regards,


Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,819)