You can delete a message through API as described here. The snippet below shows how you can do it through PowerShell. You simply need a bearer token and the message id to delete.

You can generate the baerer token (access token) as described in this post.

Always consider the REST API and Rate Limits when accessing a Yammer network.

To remove a message, you must either

  • have posted the message yourself
  • be an administrator of the group the message was posted to or
  • be an admin of the network the message is in

comments powered by Disqus