Logic App - Channel choosing not working for Teams key word trigger

ThomasL 45 Reputation points

Hi Azure Community !

I'm trying to trigger a flow from a key work in messages in a channel Teams.

I found a perfect trigger connector, but impossible to choose dynamically the channel... so I wrote the name of the existing channel ("Test") directly in the field -> the flow doesn't trigger after multiple test on Teams.

For other Logic App flows, I already noticed that the connections doesn't appear automatically sometimes.
Is anybody faced this issue ? Is there something I'm doing wrong ?

Below a screenshot of the flow.
Thanks a lot for your help !

Capture d’écran 2023-08-31 à 16.38.17

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,033 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,831 questions
0 comments No comments
{count} votes

Accepted answer
  1. Mike Urnun 9,656 Reputation points Microsoft Employee

    Hello, @ThomasL - Thanks for reaching out. I just did a quick test and here are my findings:

    • After creating the connection and working with the "When keywords are mentioned" trigger, the Teams connector does populate the channels dynamically -- meaning that it does list the channels that were created after the creation of the connection in Logic Apps.
    • If the newly created channel isn't showing in the dropdown for you (which in my case they were showing just fine) you can choose the "Enter custom value" option and enter the Channel ID
    • Note that the Channel ID is not the name of the channel, rather, it's a unique identifier like in the following: 19:6a6bffb638bd41e59a9e84d04ee922c6@thread.skype
    • Easiest way to retrieve your channel ID is by opening teams on a browser, clicking on the channel, and copying the ID from the browser URL:
      User's image
    • Alternatively, here's another way using the "Get a link to the channel" from the right-click menu:

    I hope this helps. Feel free to let me know if you have any follow-up questions on this, thanks!

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful