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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / PowerApps - Execute St...
Power Automate
Unanswered

PowerApps - Execute Stored procedure problem

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello

 

When try to execute a stored procedure sql server with parameter from PowerApps i get this error

Unable to process template language expressions in action 'Execute_stored_procedure' inputs at line '1' and column '1547': 'The template language expression 'parameters('$connections')['shared_sql']['connectionId']' cannot be evaluated because property 'shared_sql' doesn't exist, available properties are ''. Please see https://aka.ms/logicexpressions for usage details.'.

 

Same flow with recurrence first step works fine

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

    Hi compksoft,

     

    Could you please provide us a screenshot of the flow you're trying to build?

     

    Regards,

    Mona Li

     

  • compkos Profile Picture
    20 on at

     

    ALTER PROCEDURE [dbo].[SGPCustomersYearUnits] 
    @CustomerCode as varchar(50)
    AS
    BEGIN
    	delete from STGCustomersYearUnits;
    	insert into STGCustomersYearUnits select newid() ID, SGCustomersYearUnits.* from SGCustomersYearUnits where CustomerCode=@CustomerCode order by CustomerCode ;
    END

    StoredProcedure.PNG

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Based on this thread, Microsoft have released a fix for this in Preview.

     

    https://powerusers.microsoft.com/t5/General-Flow-Discussion/Execute-Stored-procedure-with-On-Premises-Gateway-server/m-p/9419

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard