Announcements
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!
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
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 549 Most Valuable Professional
Kalathiya 225 Super User 2026 Season 1
Haque 224