cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jotad710
Microsoft
Microsoft

Mention a MS Teams Channel using Power Automate

Do you know if it's possible to mention "@" a MS Teams Channel if I follow these steps: https://docs.microsoft.com/en-us/business-applications-release-notes/october18/microsoft-flow/post-r...?

 

If not, is there any other way?

1 ACCEPTED SOLUTION

Accepted Solutions

@Jotad710 

Hey there - Are you ok posting as the flow bot?  If so, check this article from Dennis (capitalizing on John Liu's post) about at-mentioning an entire channel.

 

Mention a channel with Flow

 

Hope that helps, keep us posted.

-Ed-

 

If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

View solution in original post

15 REPLIES 15
manuelstgomes
Community Champion
Community Champion

HI @Jotad710 

 

Unfortunately, it's not possible to @mention someone. It would be super handy, though. I think this is worth submitting as an idea for future implementation:

 

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

 

 

According to this thread: https://powerusers.microsoft.com/t5/Building-Flows/Can-you-Mention-anyone-in-Teams-from-a-flow/m-p/2... is possible to @ someone. I'm not sure if it's possbile to @ a MS Teams Channel.

@Jotad710 

Hey there - Are you ok posting as the flow bot?  If so, check this article from Dennis (capitalizing on John Liu's post) about at-mentioning an entire channel.

 

Mention a channel with Flow

 

Hope that helps, keep us posted.

-Ed-

 

If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

Hi @edgonzales ,

 

I am very new at this and I would like to use this @mention to ping my team daily for tasks.

 

How do I also get the team and channel IDs? His instructions are initializing the variable only. 
The ChannelPostUrl variable Url also looks to be dated. When I go to graph.microsoft.com/beta/teams it returns 

  "code": "InvalidAuthenticationToken",
    "message": "Access token is empty.",

 

@aymalvin 

Hi there - If you haven't already, check out the Graph API Explorer.  It's a handy way to find quick bits of information like those ID's, and also details out the URL/URI needed to do some really cool things.

 

Keep us posted.

-Ed

hey,

 

Is there a way to do this without the Invoke - it is a premium element of Flow and I cannot get that enabled.

 

I have mentioning working for individuals by pulling information out of a message card and then using that as a variable and then the <at></at> that variable.  Would love to have this as a solution for the channel members, just can't figure out what to do with the 'channel' link info I have.

cimaja
Microsoft
Microsoft

I copied the code and only replaced the channel in it and it says it has an invalid json schema when running. Could the code be too old maybe? @edgonzales 

 

Expiscornovus
Super User
Super User

Hi @shavora,

 

I see that code might be coming from one of my blogs 😁.  It has been a while since I checked if it still works (Sep 2021).

 

Just tested it, it should still work. Only difference is that I would now use the v1.0 endpoint, not the beta.

 

Btw, this should also be possible via the Send an HTTP request (Office 365 Groups connector) action, which is non-premium 😉

 

1. My setup of today. Same json payload.

 

mentionachannelwithflow.png

 

2. Test result today.

 

mentionachannelwithflow02.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


Yeah, it's strange, I get still "The response is not in a JSON format" on that action.

 

I read now that I need an app registered for it to work, and the other action you mention will be a good choice. Thanks 🙂

 

 

 

 

Expiscornovus
Super User
Super User

Hi @shavora,

 

Definitely try that other action as well 👍

 

Btw, also make sure that in the Invoke an HTTP request action connection is using https://graph.microsoft.com as the Base Resource URL and Azure AD Resource URI values like in the screenshot below.

 

That is also typically a setting which is easily forgotten.

 

connectionsettings_baseresourceurl.png



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


That created other issues 😅 

 

channel.displayName cannot be null or whitespace. (Parameter 'channel.displayName')

 

Screenshot 2023-01-20 105626.jpg

 

 

Expiscornovus
Super User
Super User

Hi @shavora,

 

I am happy to help out, shall we try and solve those issues in a new thread?

 

 



Happy to help out! 🙂

Interested in more #PowerAutomate #SharePointOnline or #PowerVirtualAgents content?
Visit my blog, Subscribe to my YouTube channel or Follow me on Twitter


shavora
Super User
Super User

Yay, ill tag you!

hey any chance you've come across error 400, URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource/object is not supported for this connector.

i mean, there's loads of threads about it, been reading through those for the past few days, neither seems to be presenting viable solutions in my case. at this point i'm inclined to think api might have been blocked? due to security perhaps?

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,136)