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

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

Reply
ajomat
Frequent Visitor

Unable to pass data pipeline parameter value as an input to the channel to teams(preview) activity

Hi all,

 

I was trying to pass the Workspace Name as a parameter to the channel of Teams (Preview) activity and it is showing error on run (attaching screenshots below). But when I select the name of channel from the channel list, it will work.

I would like to pass the channel name into the teams using a parameter defined inside the pipeline. Is it posible ? 

Thank you!

 

ajomat_0-1717602279970.png

 

ajomat_1-1717602311804.png

1 ACCEPTED SOLUTION
NandanHegde
Super User
Super User

NandanHegde_0-1717662298755.png

It is possible to parameterize it but you need to be careful w.r.t the value which you are passing.

 

when you select the name as is hardcoded, the activity at the backend passes the response to the teams in the form of some ID:

NandanHegde_1-1717662382844.png

 

where as when you pass the name as a parameter, the response is generated as below 

NandanHegde_2-1717662433109.png

 

rather than the threadid thereby failing.

 

So as long as you pass the value in the form of the backend guid value for that channel/chat, the activity would be succesful




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

View solution in original post

2 REPLIES 2
ajomat
Frequent Visitor

Hi,
Thank you for the reply. It worked when I used the backend guid value as the value of parameter.
Is it possible to use the channel name somehow as the parameneter value instead of passing the backend guid value. Thank you!

NandanHegde
Super User
Super User

NandanHegde_0-1717662298755.png

It is possible to parameterize it but you need to be careful w.r.t the value which you are passing.

 

when you select the name as is hardcoded, the activity at the backend passes the response to the teams in the form of some ID:

NandanHegde_1-1717662382844.png

 

where as when you pass the name as a parameter, the response is generated as below 

NandanHegde_2-1717662433109.png

 

rather than the threadid thereby failing.

 

So as long as you pass the value in the form of the backend guid value for that channel/chat, the activity would be succesful




----------------------------------------------------------------------------------------------
Nandan Hegde (MSFT Data MVP)
LinkedIn Profile : www.linkedin.com/in/nandan-hegde-4a195a66
GitHUB Profile : https://github.com/NandanHegde15
Twitter Profile : @nandan_hegde15
MSFT MVP Profile : https://mvp.microsoft.com/en-US/MVP/profile/8977819f-95fb-ed11-8f6d-000d3a560942
Topmate : https://topmate.io/nandan_hegde
Blog :https://datasharkx.wordpress.com

Helpful resources

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