I’m making a note of this blog post as I can foresee a future need to be able to subscribe specific subsets of users to Yammer groups.
How To Add A User To Yammer Group Using PowerShell
Also see the official documentation for /group_memberships.json