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

ThomasL 45 Reputation points
2023-08-31T14:39:10.5+00:00

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,627 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,996 questions
0 comments No comments
{count} votes

Accepted answer
  1. Mike Urnun 9,786 Reputation points Microsoft Employee
    2023-08-31T21:58:22.72+00:00

    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:
      https://www.c-sharpcorner.com/blogs/how-to-fetch-the-teams-id-and-channel-id-for-microsoft-teams

    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