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 / Post a message from Po...
Power Apps
Unanswered

Post a message from Power Apps to a specific teams user (not channel)

(0) ShareShare
ReportReport
Posted on by 2

Hi, what i want to do:
I have a Power App with an Gallery. The Gallery contains multiple Items, each with a title and a url.
Here i want to add some kind of share functionality: When i click an item i want a popup in which i can select one or multiple teams users (or office users). Then i want to click on a button to send them a message, containing the title and url of the selected gallery item.
Here i mostly struggle with the sending of a message. I read about creating a flow and using the flow bot but i cant get it configured correctly. I also read about the PostMessageToConversation method https://powerusers.microsoft.com/t5/Building-Power-Apps/PostMessageToConversation-Invalid-Number-of-Arguments/td-p/2293002 but i also cant get it worked with a single user (i dont want any channel!).

Can someone help me out here? Im pretty new to Power Apps and Power Automate.

Thank you!

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    HI @aaaleeex7,

    MicrosoftTeams.PostMessageToConversation("User","Channel",ParseJSON(JSON({recipient:{groupId:"***",channelId:"***"},messageBody:"<p>testtest</p>"},JSONFormat.Compact)))

    For each parameter in this formula, I stronglu suggest you check the following thread for reference:

    Microsoft teams PostMessageToConversation - Power Platform Community

     

  • aaaleeex7 Profile Picture
    2 on at

    Hi @v-qiaqi-msft 

    thanks for the reply. But it seems like your method is only working with groups and channels. I want to share the message to a single person in ms teams, no group or channel.

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