Hi all,
does anyone have an idea how to use PostMessageToConversation from the MS Teams connector? Microsoft Teams - Connectors | Microsoft Docs suggests 3 required values, post as, post in. However when I try and use it in PowerApps,
Has anyone used this successfully?
Thanks,
Dylan
Solved! Go to Solution.
Hi @baarsd ,
If you post a message to a user as flow bot, then this message would have no relevant with current user of Power App, the recipient could reply to the flow bot, however it would not know by whom this message is sent.
Below is the Flow:
Below is the Flow append on a button, with the parameter "Recipient" set to current user:
And below is what the recipient would receive:
One point to note, you will not be able to send private messages to individuals, no matter with Flow or Power Apps. As a user, Flow and Power Apps only support sending messages to a channel. You may consider use the "Post a message as the Flow bot to a user":
append the Flow OnSelect of a button, with the parameter recipient ask in Power Apps, the recipient would recieve a message from the flow bot and could see the sender of this message:
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Hi @baarsd ,
Could you please share more details about your scenario? Would you like to post message to users in Teams as Flow bot?
If so, the action "PostMessageToConversation" is actually available in Power Automate (MS Flow):
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Hi,
what I was wanting to do was post directly to Teams from PowerApps as the logged in user - posting via a flow as the chat bot would probably work as well for my use case. I'll investigate that!
Thanks
Hi again,
sorry it's not clear how I'd target a user using the flow? Can you help?
Thanks
Hi @baarsd ,
If you post a message to a user as flow bot, then this message would have no relevant with current user of Power App, the recipient could reply to the flow bot, however it would not know by whom this message is sent.
Below is the Flow:
Below is the Flow append on a button, with the parameter "Recipient" set to current user:
And below is what the recipient would receive:
One point to note, you will not be able to send private messages to individuals, no matter with Flow or Power Apps. As a user, Flow and Power Apps only support sending messages to a channel. You may consider use the "Post a message as the Flow bot to a user":
append the Flow OnSelect of a button, with the parameter recipient ask in Power Apps, the recipient would recieve a message from the flow bot and could see the sender of this message:
Hope this helps.
Best regards,
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.
isn''t there any way to do it with the Power App function? without doing anything with power automate?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
208 | |
48 | |
43 | |
41 | |
36 |
User | Count |
---|---|
291 | |
83 | |
80 | |
80 | |
76 |