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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Link Preview when post...
Power Automate
Unanswered

Link Preview when posting Sharepoint link to Yammer using a flow

(0) ShareShare
ReportReport
Posted on by

Hello, hoping i'll be able to have something cleared up/solved for me. 
I'm trying to share a link over to Yammer from Sharepoint using a flow. That part i've got sorted. The next step is that I want to have a 'link preview' with the link itself, including an image. Basically, i'd like to replicate what shows up when you share a link from Sharepoint to Yammer manually, see below: 

JackI_0-1661157639983.png

This is what you'd see if you share a link manually from Sharepoint to Yammer.

Can this be replicated using a flow currently? Or something similar? 
The main bit i'm stumped on is the image, i've read around that it isn't possible to get images on posts using Automate currently but the posts I saw were from 2018 so I am unsure if this is still true. 

Hopefully i've made the issue clear enough, i'm kind of new to forums so apologies if I haven't
I hope you can help me! 🙂 

 

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

    Hi @JackI,


    It looks like the standard Yammer Post a Message action does not support attaching Open Graph Objects (OGO).

     

    However, you can workaround this by using an HTTP request and using the Yammer REST API to post the same message:
    https://docs.microsoft.com/en-us/rest/api/yammer/messages-json-post#attaching-open-graph-objects

     

    However, that means using a premium HTTP action and registering an app in Yammer. You can obtain an Bearer access token via that app which you can use in your flow.

    When you got that sorted you should be able to post a message with an og_url. When that link is a SharePoint resource it should generate a preview thumbnail.

     

    See an example below.

     

    1. HTTP action setup

     

    yammer_restapi.png

     

    2. Test result with SharePoint link as OG_url.

     

    ogo_attachment.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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard