Hoping this is the right place to post...I have a requirement from a client to automatically create Yammer groups as part of a SharePoint Online provisioning process. I understand there are (theoretically) 2 ways to do this, but I am limited in both:
Using an undocumented Yammer API endpoint to POST to groups.json in the following manner:
However, this returns a 301: Moved Permanently error, which leads me to believe POSTing to this endpoint no longer works. (Note: I have the Yammer app set up and I am passing the OAuth dev token properly)
Using Microsoft Graph API with O365 Group-connected Yammer groups. Creating a group via API works fine in this method, but there is no way to retroactively use that group in Yammer. In other words, if I manually create a Group in Yammer and the proper configuration is in place, I will get an O365 Group; however, if I first create the O365 Group (which, due to the lackluster Yammer API, seems like my only option), I can't create a Yammer group from it.
The ideal process will work in this way:
Create a SPO Communication site from a Site Design, which includes a call to Flow
Flow passes the name of the SPO Comm site as the intended Group name into a POST call on some RESTful API to provision the Yammer group
Alas, I'm stuck. This seems like it should be a relatively common scenario; is there really no support for automated Yammer group creation? I'm open to any ideas, and thanks in advance!