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 / Picture from Sharepoin...
Power Automate
Answered

Picture from Sharepoint List to Teams Chat

(1) ShareShare
ReportReport
Posted on by
Hello
 
I have created a workflow that reports entries in a SharePoint Excel in a Teams chat.
that works so far
Excel sometimes contains an image (as a link).
I would also like to display the picture (nit the link!) in a teams chat.
 
But I can't manage that. I only get the link in the message, but not the image itself
 
can someone tell me how to do this?
Categories:
I have the same question (0)
  • Verified answer
    MS.Ragavendar Profile Picture
    5,013 Super User 2025 Season 2 on at
     
    Teams doesn’t render SharePoint images directly, you can convert the image to a Base64 string and use adaptive cards to display it.
     
    • Use the "Get file content" action in Power Automate to retrieve the image.
    • Ensure you retrieve the content as Binary.
    • Use the "Compose" action - base64(body('Get_file_content'))
    • Add a "Post an adaptive card" action.
    {
        "type": "AdaptiveCard",
        "body": [
            {
                "type": "Image",
                "url": "data:image/png;base64, @{outputs('Compose')}",
                "size": "Medium"
            }
        ],
        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
        "version": "1.3"
    }
    
     
    .
     
    Alternate Approach
     
    • Make sure the Images is shared with "Anyone with the link".
    • You use the direct URL instead of a SharePoint file path.
    • You can embeed the URL inside an Adaptive Card .
     
    {
        "type": "AdaptiveCard",
        "body": [
            {
                "type": "Image",
                "url": "https://yourcompany.sharepoint.com/sites/library/image.png",
                "size": "Medium"
            }
        ],
        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
        "version": "1.3"
    }
    
     

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard