Unable to post message via Yammer API in group belongs to External Network

kozoo 1 Reputation point

We have two networks in our Yammer:

Home network - used internally in our company

External network - to post some information for our partners.


We set up some automation using Yammer API to post messages from the scripts. It works fine but only for our Home Network.
When trying to post a message in a group that belongs to an external network I'm getting (403) Forbidden response.

When call https://www.yammer.com/api/v1/networks/current.json I got information about both networks,

The same situation in case of call /oauth/tokens.json resource -> I get a response containing details about both networks.

How looks my request:


    Authorization = Bearer [JWT token]  

    'Content-Type' = 'multipart/form-data'  

    'Accept-Encoding' = 'giz,deflate,br'  

    'yammer-capbilities' = 'external-messaging,external-groups'  


    body = 'text of yammer post'  

    group_id = 'number of a group in Yammer'  

    is_rich_text = 'true'  

    message_type = 'normal'  

    title = 'title of yammer post'  

This works perfectly when I'm posting in the primary home network.
I googled a whole internet but found nothing. Please help.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
26,891 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 19,881 Reputation points Microsoft Vendor

    Hi @kozoo ,
    Since the issue is about Yammer. Microsoft has a dedicated forum to discuss about Yammer. You can get some more professional advice in the following forum.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments