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

Community site session details

Session Id : AxJcSzeEA66+NwEy8DtCaW
Power Automate - Building Flows
Unanswered

Send image from SP library as a teams message

Like (0) ShareShare
ReportReport
Posted on 21 Jul 2021 06:17:57 by 404

Hello

Is there any ways to send an image from library as a teams message?

ppl_0-1626848248561.png

 

I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    on 22 Jul 2021 at 02:44:04
    Re: Send image from SP library as a teams message

    Hi @ppl,

    Based on the issue that you mentioned, do you want to send an image from SharePoint library to Teams?

    Could you please share a bit more about your scenario?

    I think you should use the "Post your own adaptive card as the Flow bot to a channel" action.

    I have a test on my side, please take a try as below:

    vqiaqimsft_1-1626861294906.png

    vqiaqimsft_0-1626861243150.png

    Please write the following expression into the Expression bar within the url Map:

    item()['{Thumbnail}/Large']

    Write the following 

    {
     "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
     "type": "AdaptiveCard",
     "version": "1.0",
     "body": [
     {
     "type": "TextBlock",
     "text": "Photos from SharePoint Picture Library",
     "id": "Title",
     "size": "Large"
     },
     {
     "type": "TextBlock",
     "text": "Photos from SharePoint Picture Library",
     "size": "Medium",
     "weight": "Lighter"
     },
     {
     "type": "ImageSet",
     "imageSize": "large",
     "spacing": "large",
     "images": @{body('Select_2')} // You could select the output from the Expression bar
     
     }
     ],
     "spacing": "Large"
    }

    vqiaqimsft_0-1626921811216.png

    The above is my testing result.

    Check if this could help you.

     

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard
Loading complete