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.
Anybody able to get this to work? I'm not sure what I'm missing but I get "Unable to authenticate supplied credentials"
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
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!
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
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.
WarrenBelz
146,537
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,908
Most Valuable Professional