Mention a Channel or Team – Power Automate
graph.microsoft.com/v1.0/teams/{teamId}/channels/{channelId}/messages
Channel:
----------
{
"body": {
"contentType": "html",
"content": "<at id=\"0\">General</at> This is a channel alert! 🔔"
},
"mentions": [
{
"id": 0,
"mentionText": "General",
"mentioned": {
"conversation": {
"id": "@{outputs('ChannelID')}",
"displayName": "General",
"@odata.type": "microsoft.graph.teamworkConversationIdentity",
"conversationIdentityType": "channel"
}
}
}
]
}
Team:
----------
{
"body": {
"contentType": "html",
"content": "<at id=\"0\">TheWholeTeam</at> Hello Team! 😉"
},
"mentions": [
{
"id": 0,
"mentionText": "TheWholeTeam",
"mentioned": {
"conversation": {
"id": "@{outputs('GroupTeamID')}",
"displayName": "TheWholeTeam",
"@odata.type": "microsoft.graph.teamworkConversationIdentity",
"conversationIdentityType": "team"
}
}
}
]
}
https://damobird365.com/mention-a-channel-or-team-power-automate/#:~:text=Via%20Microsoft%20Teams%2C%20you%20can,you%20are%20familiar%20with%20Graph.
https://manish-solanki.com/how-to-mention-a-teams-or-channel-in-channel-message-using-power-automate/