web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Posting Message to Yam...
Power Automate
Unanswered

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

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,183 Most Valuable Professional on at

    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

  • Verified answer
    soumyadeep2207 Profile Picture
    7 on at

    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

     

     

  • JHL1 Profile Picture
    67 on at

    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!

  • Nishant87 Profile Picture
    2 on at

    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

  • buckman_rockhop Profile Picture
    2 on at

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard