cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
4th8
Frequent Visitor

Post a message as the flow bot to a user

aI found the Microsoft Teams connector for Power Apps: Microsoft Teams Connector 

 

In there I found the function "MicrosoftTeams.PostUserNotification()" however little information about how to use the function. according to the editor in my canvas app it takes 0 arguments and returns a bool. Is this function just broken? Has anyone found a way to use it?

 
 
1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User
Dual Super User

There are a number of functions (actions) in connectors that are only available when using them as actions in Power Automate.  As far as I know this is one of those functions.  You can use it by calling a Power automate flow that uses the 'Post a message as the flow bot to a user' action.

image.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

6 REPLIES 6
Pstork1
Dual Super User
Dual Super User

There are a number of functions (actions) in connectors that are only available when using them as actions in Power Automate.  As far as I know this is one of those functions.  You can use it by calling a Power automate flow that uses the 'Post a message as the flow bot to a user' action.

image.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
ultraman84
Regular Visitor

I can't find this function anymore, is it removed? 

That action has been replaced by a consolidated action where you can pick whether to post as a user or a bot.

image.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thanks . Slightly related question: how do I use the new "Post a message in a chat or channel" to send a message straight to the recipient (it was quite trivial with the previous "Post a message to a user"). Thanks!

You don't use that action to send a message to a user.  There is a different one for starting a new chat with a user in Teams.

image.png



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thanks @Pstork1. I managed to send a message to specific reciepient using "Post a message in a chat or channel"

VictorAtCode_0-1637159276005.png

Produces this for the recipient

VictorAtCode_1-1637159316201.png

Thanks!

 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,700)