Patrick Lamber
Patrick Lamber IT Geek focusing on Microsoft collaboration software.

Delete a Yammer message through the Yammer REST API with PowerShell

This post is part of a post series.

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
This post is part of a post series.

comments powered by Disqus