cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Add user to Yammer group

Hi everyone,

 

Is there any way of adding a user to a yammer group after some trigger? I can't find any pre-defined connector for that task in Power Automate.

 

Thanks in advance,

 

Alvaro.

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User II
Super User II

Hi @Anonymous,

 

It should be possible via the Yammer REST API and the HTTP action.

https://techcommunity.microsoft.com/t5/yammer-blog/using-yammer-rest-api-with-the-new-yammer/ba-p/1625691

 

You could use the Group_membership.json endpoint and a POST request.

https://developer.yammer.com/docs/group_membershipsjsongroup_idid

 

example_addyammermembership.png

View solution in original post

4 REPLIES 4
Expiscornovus
Super User II
Super User II

Hi @Anonymous,

 

It should be possible via the Yammer REST API and the HTTP action.

https://techcommunity.microsoft.com/t5/yammer-blog/using-yammer-rest-api-with-the-new-yammer/ba-p/1625691

 

You could use the Group_membership.json endpoint and a POST request.

https://developer.yammer.com/docs/group_membershipsjsongroup_idid

 

example_addyammermembership.png

View solution in original post

Anonymous
Not applicable

Thanks a lot for your answer! I will try it.

Expiscornovus
Super User II
Super User II

Hi @Anonymous, 

 

I just remembered that Yammer Groups are also connected to an Office 365 Group.

 

So, it's probably easier to just use the Add member to group action instead:

https://docs.microsoft.com/en-us/connectors/office365groups/#add-member-to-group

 

addmembertogroup.png

 

EricLegault
New Member

Apparently that only works for internal users - I get a 401 Unauthorized when I try to use an external user's email address and their Azure AD userId (after it was created from a SharePoint site guest invitation). I don't see a separate endpoint for invitations - can this work at all for external users?

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,225)