web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Microsoft Teams PostCh...
Power Apps
Unanswered

Microsoft Teams PostChannelNotification

(0) ShareShare
ReportReport
Posted on by 27

I am attempting to use the Microsoft Teams connector directly in PowerApps rather than using a Power Automate as there is a requirements to keep flow runs to a minimum in the environment.

 

I can post a message to a channel using the PostMessageToChannelV3 but I can't find a way to mention the channel so that everyone is informed that there is a new message. I attempted to use Shane Young's video: https://www.youtube.com/watch?v=KONkjjSYvMI to link a single user and use the email address for the channel instead but am getting the below error:

kves_0-1693398893660.png

Code getting this error is as follows:
MicrosoftTeams.PostMessageToChannelV3(groupID,ChannelID,{content:"<p>Test<at>Team Email Address</at>", contentType: "html"})

 

I then tried to use PostChannelNotification but documentation says this has been deprecated.

 

Can anyone help to give me a way to post a message in a channel and tag everyone in the group without using Power Automate?

Categories:
I have the same question (0)
  • DavePerks Profile Picture
    2 on at

    I had a similar issue and managed to get around it with these steps:

     

    • Create a text label and enter the following to obtain the UserProfileID that you wish to mention in the Teams channel Post:

    Office365Users.UserProfileV2("YourEmailAddressHere").id

     

    • Then the formula required for the On Select property of the button is as follows:

    MicrosoftTeams.PostMessageToChannelV3(
    //EnterTeamGroupID
    "GroupIDHere",
    //EnterTeamChannelID
    "TeamChannelIDHere",
    {
    content:
    MicrosoftTeams.AtMentionUser("EnterGeneratedLabelIDHere").atMention & "Enter content of message",

    contentType:"Html",
    isImportant: true // Add this line for creating an announcement

    },

    {subject: "Enter Subject Text Here"}
    );

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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 404

#2
timl Profile Picture

timl 344 Super User 2026 Season 1

#3
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

Last 30 days Overall leaderboard