Auto Delete Message From Yammer Community with PowerShell
I was recently tasked with clearing out a Yammer Communities auto-welcoming posts. If you are not familiar with auto-welcoming posts, Yammer used to automatically post a message whenever someone joined a community. It looked something like this, “Bradley Wyatt joined the Lazy Administrator network. Take a moment to welcome Brad.”
Thankfully, Microsoft removed this feature so your community is not littered with auto welcoming messages anymore. But, if your community existed prior to this change you may be faced with hundreds, if not thousands of these posts that you may want to remove.
- Register a New App so we can interface with the Yammer API
- Next, click “Generate a developer token for this application.” Save the token for later as you will need it.
- Next, navigate to the Yammer Admin page and click “Export Network Data” under Content and Security.
- Select the date range you want