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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Microsoft Flows Stored...
Power Automate
Unanswered

Microsoft Flows Stored Procedure with Powerapps Parameters

(0) ShareShare
ReportReport
Posted on by 54

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

I get following error:
{
  "status"400,
  "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",
  "source""sqlconnectionprovider-westus.tip0-westus.p.azurewebsites.net"
}

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?

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    on at

    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:

    MM/dd/yyyy

    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:

    https://powerusers.microsoft.com/t5/Building-Flows/SharePoint-Get-items-Filter-Quero/m-p/97613#M9539

     

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

     

     

    Best regards,

    Kris

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 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard