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

Notifications

Announcements

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 372 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 303 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 238 Super User 2026 Season 1

Last 30 days Overall leaderboard