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 / PowerApps - Execute St...
Power Automate
Unanswered

PowerApps - Execute Stored procedure problem

(0) ShareShare
ReportReport
Posted on by

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
    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
    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

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard