Integration Office 365 Teams Yammer

Adding Yammer feeds to a Microsoft Team

It’s quick and easy to add Yammer feeds into Microsoft Teams using Yammer Embed.

At present, Yammer is not included as a Tab in Microsoft Teams. (If you are wondering why you should do this then check out my session at Microsoft Ignite BRK2147 Microsoft Teams and Yammer: Velocity meets community ).

There are two approaches to adding Yammer as a Tab which both use a ‘website’ tab in Teams.

tabs
Method 1

The first is to copy the link of the feed from the address bar and paste that as the URL in the Tab
group link

This has the effect of nesting the entire Yammer experience in the Tab. In my opinion, this is less than ideal as you can see from the image below it also includes the Office 365 Suite Bar, Group header, group listing etc.

tab 2

Method 2

The second, and my preferred method, is to use Yammer Embed to present the required Yammer feed. The first step is to get the ‘feedId’ of the Group from the address bar.
group link 2
The feedId is the number listed after the equals sign e.g. 4191007.
The next step is to add it to a Yammer Embed URL. The URLs are in the form of:

https://www.yammer.com/embed-feed?feedType=group&feedId={feedID number}

e.g.

https://www.yammer.com/embed-feed?feedType=group&feedId=4191007

Finally, the URL is added to the ‘website’ Tab in Teams.

tab 3

I think you’ll agree that the presentation of the feed is much better:

tab 4

Extensions

This approach is not limited to Group feeds. Using Yammer Embed, you can display a Discovery feed, a Group Feed, a Topic Feed, a User Feed or an Open Graph object feed. Note that users of a Tab containing a Yammer feed may need to log in first in order to view the feed (though this should be a rare occurance)

The format of the URLs for use in a Tab are:

Discovery feed

https://www.yammer.com/embed-feed?feedType=algo

‘My all’ messages feed

https://www.yammer.com/embed-feed?feedType=my_all

Following feed

https://www.yammer.com/embed-feed?feedType=following

Topic feed

https://www.yammer.com/embed-feed?feedType=topic&feedId={feedID number}

e.g.

https://www.yammer.com/embed-feed?feedType=topic&feedId=7991723

Group feed

https://www.yammer.com/embed-feed?feedType=group&feedId={feedID number}

e.g.

https://www.yammer.com/embed-feed?feedType=group&feedId=4191007

User feed

https://www.yammer.com/embed-feed?feedType=user&feedId={user number}

e.g.

https://www.yammer.com/embed-feed?feedType=user&feedId=1510755635

You can get the user number by viewing the profile of the user. It will be displayed in the address bar e.g.

https://www.yammer.com/{your tenant name}/#/users/1510755635

 

Note that a feedId is not required for Discovery, ‘My all’, or Following feeds

You can customise the feed by adding other Yammer Embed configuration items like:

No header

https://www.yammer.com/embed-feed?feedType=user&feedId=1510755635&config[header]=false

No header or footer

https://www.yammer.com/embed-feed?feedType=user&feedId=1510755635&config[header]=false&config[footer]=false

 

 

5 comments

  1. Looks like this may have changed recently? I had to use “in_group” instead of just “group” to get the embed working in Teams. Regardless, I appreciate this really useful article, thanks Simon!

    Like

    1. Sorry about the delayed reply. Yes they have made some changes. I must get around to updating this blog. I know there are plans afoot to make Yammer and Teams better together.

      Like

Leave a comment