Notifications
Announcements
Hello, I am trying to post a message to a Teams Channel and '@' the channel in the message. I have accomplished this using the 'Invoke a HTTP Request' and following the steps found here: http://www.expiscornovus.com/2019/05/29/mention-a-channel-with-flow/The problem I am running into is that these messages post as coming from a user (me)I would like to post and '@' the channel from a bot / adaptive card. Does anyone know if this is possible, and if so how to?
Hi!
Did you consider the new action block for this purpose?
https://docs.microsoft.com/en-us/connectors/teams/#get-@mention-token-for-a-user
Havent tested myself yet, but hope this helps
@efialttes I am not sure if that will work, could you explain a little more? I have it working posting from a user, but I want it to come from a bot. So I have the IDs and all of that.
According to this excellent article, it seems you can also use it not only in conventional posts but also inside Adaptive Cards
https://poszytek.eu/en/microsoft-en/office-365-en/powerautomate-en/mentioning-in-microsoft-teams-via-power-automate/
Hope this helps
@efialttes I am attempting to '@' a channel not a user
OMG! sorry for your time testing my suggestion, and let's hope somebody else can point you to a good solution!
Yeah, I can '@' the channel. But it is posting from a user profile. I would like it post from a bot/adaptive card.Thank you for reaching out
Wait wait wait... did you try invoking the Graph API? I am afraid the action block is premium.
THere is also a workaround published by John Liu some time ago, not sure if it is still working
https://powerusers.microsoft.com/t5/General-Power-Automate/Mention-a-MS-Teams-Channel-using-Power-Automate/td-p/450448
This is what I have currently.
Hi again!
Just checking
https://ashiqf.com/2020/02/09/mention-user-channel-in-teams-using-ms-graph-api/
THe only difference I see so far is this one
<at id ='0'>
Hope his helps
May I ask if the code to invoke a http request is still working? Mine says invalid json when attempting to run the flow. @jonathancavey
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 522 Super User 2025 Season 2
Tomac 364 Moderator
abm abm 243 Most Valuable Professional