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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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 July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

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

July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors