Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
HamidBee
Power Participant
Power Participant

How to Pass Parameters to a Stored Procedure in Microsoft Fabric Pipeline?

I'm working on a pipeline in Microsoft Fabric, where I want to execute a stored procedure in the destination warehouse and pass parameters to it. Here’s the stored procedure I’ve created:

HamidBee_0-1730800243112.png

 

 

CREATE PROCEDURE Sales.MyStoredProcedure
    @CustomerName NVARCHAR(100) = NULL,
    @EmailAddress NVARCHAR(100) = NULL
AS
BEGIN
    SELECT * 
    FROM Sales.Dim_Customer
    WHERE (@CustomerName IS NULL OR CustomerName = @CustomerName)
      AND (@EmailAddress IS NULL OR EmailAddress = @EmailAddress);
END;

 

In the pipeline's stored procedure activity, under "Settings," I can add "Stored procedure parameters." However, when I try to add my parameters (@CustomerName and @EmailAddress), the dropdown doesn’t seem to recognize these parameter names, and I’m unable to map values effectively.

 

Could someone explain how I should configure this in the pipeline to pass parameters correctly? Is there a specific step I’m missing, or do I need to set it up differently for the parameters to be detected automatically?

 

Thank you.

1 ACCEPTED SOLUTION
HamidBee
Power Participant
Power Participant

I solved it by clicking 'import':

 

HamidBee_0-1730800644553.png

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @HamidBee 

 

Thank you very much for sharing! This helps other members solve similar problems.

 

Regards,

Nono Chen

HamidBee
Power Participant
Power Participant

I solved it by clicking 'import':

 

HamidBee_0-1730800644553.png

 

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.