Skip to main content

Notifications

Power Automate - Using Connectors
Answered

Extracting new photo from Sharepoint folder to put in Teams Channel

(0) ShareShare
ReportReport
Posted on by 20

Hello,

I have been trying to set up a flow for Sharepoint where anytime a picture file is added to a Sharepoint group folder, a download link for that picture is sent to a Teams channel. I've tried to set the raw content in an adaptive card and that gives a payload error, and trying to set it in a list also didn't work. I tried to set it in a message and the message isn't showing the File Content dynamic context link. If anyone could guide me how to set that up, I would appreciate it.

 

To note, it doesn't necessarily HAVE to be a download link, if I could even just post the image as-is into the channel would be fine too, I just need some way for the people in said channel to instantly get that image on their computer at any point.

  • Verified answer
    Re: Extracting new photo from Sharepoint folder to put in Teams Channel

    Hi @CoryC 

     

    You can add a clickable image link in Teams message. And currently, flow doesn't support posting image in Teams message.

     

    The whole flow is for your reference:

    2.25-1.PNG

    Please edit the message in html mode.

    The html code used:

    <p>
    <br>
    <a href="@{triggerOutputs()?['body/{Link}']}">image</a><br>
    </br>
    </p>

     

    The result of the flow in Teams is:

    2.25-2.PNG

     

    Best Regards,
    Community Support Team _ Kira Xie
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard

Featured topics