Home

Adding a Yammer tab to Teams via Graph

%3CLINGO-SUB%20id%3D%22lingo-sub-364601%22%20slang%3D%22en-US%22%3EAdding%20a%20Yammer%20tab%20to%20Teams%20via%20Graph%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-364601%22%20slang%3D%22en-US%22%3E%3CP%20style%3D%22text-align%3A%20left%3B%22%3EI%20managed%20to%20add%20Yammer%20tab%20(Group%20or%20Topic)%20into%20Teams%20via%20Graph%20API.%20This%20is%20a%20another%20great%20example%20how%20you%20can%20add%20apps%20to%20teams%20easily.%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20left%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20left%3B%22%3EIt%20involved%20a%20bit%20of%20hacking%20(retrieve%20the%20application%20adding%20block%20via%20Graph%20Explorer)%20so%20it%20is%20not%20as%20robust%20as%20I%20would%20like%20it%20to%20be.%20I%20did%20not%20find%20a%20way%20(yet)%20to%20figure%20out%20the%20encrypted%20part%20in%20EntityID%20and%20ContentURL.%20I%20suppose%20they%20do%20contain%20info%20about%20the%20FeedID%20in%20Yammer%20but%20there%20must%20be%20something%20else%20as%20well%20(network%20url%20or%20reference%20to%20that%20also).%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20left%3B%22%3ESo%20this%20adding%20only%20works%20for%20those%20Yammer%20topics%20and%20groups%20that%20admin%20(etc)%20has%20chosen%20beforehand%20and%20used%20Graph%20Explorer%20to%20retrieve%20URLS.%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20left%3B%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20left%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fmyteamsday.com%2F2019%2F03%2F12%2Fadding-company-yammer-tabs-to-a-team-using-graph-api%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmyteamsday.com%2F2019%2F03%2F12%2Fadding-company-yammer-tabs-to-a-team-using-graph-api%2F%3C%2FA%3E%3C%2FP%3E%0A%3CP%20style%3D%22text-align%3A%20left%3B%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Vesa Nopanen
MVP

I managed to add Yammer tab (Group or Topic) into Teams via Graph API. This is a another great example how you can add apps to teams easily.

 

It involved a bit of hacking (retrieve the application adding block via Graph Explorer) so it is not as robust as I would like it to be. I did not find a way (yet) to figure out the encrypted part in EntityID and ContentURL. I suppose they do contain info about the FeedID in Yammer but there must be something else as well (network url or reference to that also).

So this adding only works for those Yammer topics and groups that admin (etc) has chosen beforehand and used Graph Explorer to retrieve URLS.

 

https://myteamsday.com/2019/03/12/adding-company-yammer-tabs-to-a-team-using-graph-api/

 

Related Conversations
MS Teams Graph API @Mention a Bot
Deleted in Microsoft Teams on
1 Replies
Remove or Edit Files and Onenote Tab in Teams?
Oskar Kuus in Microsoft Teams on
9 Replies
Display PDF in Tab
JTHOUMEL in Microsoft Teams on
7 Replies
Teams error code - 6
damnit95 in Office 365 on
4 Replies