The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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!
Solved! Go to Solution.
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:
where as when you pass the name as a parameter, the response is generated as below
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
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!
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:
where as when you pass the name as a parameter, the response is generated as below
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