Yammer API has been deprecated
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
- [ ] 💥 Internet Explorer
- [x] 💥 Microsoft Edge
- [x] 💥 Google Chrome
- [ ] 💥 FireFox
- [ ] 💥 Safari
- [ ] mobile (iOS/iPadOS)
- [ ] mobile (Android)
- [ ] not applicable
- [ ] other (enter in the "Additional environment details" area below)
Additional environment details
- browser version any browser
- SPFx version 1.11.0
- Node.js version 10.24.0
- etc
Describe the bug / error
Hi Team,
Our SPFx web parts currently use legacy Yammer REST endpoints to display colleague information and enable follow/unfollow functionality. However, following the recent Viva Engage updates, these endpoints have stopped returning data, which has broken production functionality for all users.
We are currently using the following endpoints:
Yammer SDK URI: https://c64.assets-yammer.com/assets/platform_js_sdk.js
Yammer Auth URI: https://www.yammer.com/{0}.onmicrosoft.com/oauth2/authorize?{1}
APIs in use:
CurrentUser: "users/current.json", FollowedBy: "users/followed_by/{0}.json?page={1}", page: 1, Following: "users/following/{0}.json", Follow: "subscriptions", UserByMail: "users/by_email.json?email={0}"
Do we have any recommended alternatives for these APIs in the latest Viva Engage platform or Microsoft Graph API?
Thanks
Steps to reproduce
1.We are getting blank results for follow/unfollow section. 2. 3.
Expected behavior
It should return the yammer follow and unfollow data.
Hello @umashankar-padhan,
Thank you for bringing this issue to our attention. We will look into it and get back to you shortly.
If you don’t receive a reply within two working days, please use this escalation form to escalate.
@umashankar-padhan, Currently, the legacy Yammer REST APIs you are using have been deprecated as part of Microsoft’s transition from Yammer to Viva Engage. Because of this platform shift, those endpoints may no longer return data as expected.
At this time, there are no publicly documented or supported alternative APIs available in the latest Viva Engage platform or Microsoft Graph API that directly replace these Yammer follow/unfollow REST endpoints.
We will tag the engineering team regarding this matter, and if they have any updates or news, we will share that with you as soon as possible.
All older Yammer REST APIs are sooner or later gone and any usage should be moving to the Viva Engage Microsoft Graph APIs which are the future - https://learn.microsoft.com/en-us/graph/api/resources/engagement-api-overview?view=graph-rest-1.0
I do apologize if this has not been publicly properly communicated, which should have been the case for sure. Closing as answered for now.