Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Posting Message to Yammer from Power Automate using Http connector

(0) ShareShare
ReportReport
Posted on by 7

Hi All,

I am trying to post some content(includes images/rich text) which is being stored in a SharePoint List to Yammer group. As the default Post Message action is not supporting Image so currently I am using Http action with OAuth. I created Azure Ad App registration and provided permission accordingly. But I am still getting 401 unauthorized error. 

 

Can anybody help me out here on how to consume Yammer Rest API /messages.json · Yammer Developer Site from Power Automate with OAuth. Looking forward to your response. Thanks in Advance.

 

soumyadeep2207_0-1644389022007.png

 

  • buckman_rockhop Profile Picture
    2 on at
    Re: Posting Message to Yammer from Power Automate using Http connector

    Anybody able to get this to work? I'm not sure what I'm missing but I get "Unable to authenticate supplied credentials"

  • Nishant87 Profile Picture
    2 on at
    Re: Posting Message to Yammer from Power Automate using Http connector

    Hi,

    Can you please tell me in detail what values I need to pass to http connector OAuth authetication to get successful token and then use that for yammer api. I am trying but getting 401. I have set redirect uri in Azure App as you mentioned. Still not working.

    I think I am not passing right values in http connector with Azure AD authentication.

    Can you please assist as it worked in your case

  • JHL1 Profile Picture
    67 on at
    Re: Posting Message to Yammer from Power Automate using Http connector

    Hi @soumyadeep2207,

    can you share how the images attached look like on yammer? That would be a great help. I eg only succeed in posting images as open graph objects, which is not what I want.

     

    Thank you for your help!

  • Verified answer
    soumyadeep2207 Profile Picture
    7 on at
    Re: Posting Message to Yammer from Power Automate using Http connector

    Hi @Expiscornovus ,

     

    Thanks for the reply, I am able to generate access token for Yammer from Flow and able to Post message with image/video. Missing part was while creating Azure AD App, in redirect url we need to provide https://flow.microsoft.com/oauth2/callback

    I will check out the registering application in Yammer. Again thanks for the reply

     

     

  • Expiscornovus Profile Picture
    31,635 Most Valuable Professional on at
    Re: Posting Message to Yammer from Power Automate using Http connector

    Hi @soumyadeep2207,

     

    Another way of authenticating could be to register your app in Yammer and use a developer access token in your header.

     

    Patrick Lamber has described the steps for registering an app in Yammer in this great article about Accessing the Yammer REST API through PowerShell.

     

    With that kind of setup you could add the token to your headers like below.

     

    accesstoken_headers.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,537 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,908 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow