Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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

  • Community Power Platform Member Profile Picture
    on at
    Re: PowerApps - Execute Stored procedure problem

    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

  • compkos Profile Picture
    20 on at
    Re: PowerApps - Execute Stored procedure problem

     

    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

  • v-monli-msft Profile Picture
    on at
    Re: PowerApps - Execute Stored procedure problem

    Hi compksoft,

     

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

     

    Regards,

    Mona Li

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,537 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,908 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow