Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Post to Yammer as Praise Post

Is it possible to post to Yammer using the praise post format, and can you add a post as another user?

Super User
Super User

Hi @PowerAppUser875,


You could use the Yammer REST API for posting a praise. I am not sure if the post as another user is possible though.


Below is an example code snippet for posting a praise.

This requires a HTTP connector action, which is a premium connector. You might need an additional license to be able to set this up.


1. Register an app in Yammer. Make sure you obtain the access token and use something like below in the body.


  "body": "(See+attached+praise)",
  "body_format": "PLAIN_TEXT",
  "message_type": "praise",
  "publisher_type": "",
  "publisher_Source": "group",
  "feed_id": "@{variables('YammerDestinationGroup')}",
  "feed_view": "default",
  "feed_type": "group",
  "number_of_recipients": "1",
  "invited_user_ids": "",
  "group_id": "@{variables('YammerDestinationGroup')}",
  "sender_id": "@{variables('SenderUserId')}",
  "skip_body_notifications": true,
  "praise": "{\"comment\":\"Amazing job again\",\"icon\":\"thumbsup\",\"praised_user_ids\":[@{variables('PraisedUserId')}]}"




2. In a test group this will look like this



Frequent Visitor

How did you retrieve the PraisedUserId and is it possible to have it dynamically set. Eg. it's entered in a People picker field in SP list and whichever user is entered gets praised.

Super User
Super User

Hi @AshMSport,

Yes, that should be possible. Use the e-mail property of that field in a GET user by email request of the Yammer REST API.

Below is an example of that.


Uri field which uses a person or group type column with the name Employee.{triggerOutputs()?['body/Employee/Email']}


The id of the first result.




This is brilliant. Thank you @Expiscornovus !

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,044)