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 / Add a png/jpeg image t...
Power Automate
Suggested Answer

Add a png/jpeg image to Teams message

(1) ShareShare
ReportReport
Posted on by 262
Hi All,
 
I have a png file that is stored in a Teams library.  I would like to use this image in a Teams message that is generated by Power Automate.  I have looked a various avenues but nothing seems to work.
 
Any help would be appreciated.
 
Thanks in Advance
Categories:
I have the same question (0)
  • Suggested answer
    Ravi-Prajapati Profile Picture
    416 Moderator on at

    Power Automate does not directly support attachments in Teams messages, but you can host the image online and use an image URL in the message.

    📌 Steps to Include a PNG in a Teams Message

    1. Get the Image URL from Teams Library

      • Open the Teams Document Library where the PNG is stored.
      • Click the file and select "Copy link" (ensure the link is accessible).
      • Choose People in your organization can view (or make it public if needed).
    2. Use the Image in a Power Automate Message

      • Add the "Post a message in a chat or channel" action.

      • In the message body, use the following Markdown syntax:

         
        markdown
        ![Image Name](https://your-image-url.png)
      • Example:

         
        arduino
        Hello Team,
        Please find the required image below:
        ![Logo](https://your-teams-library-url/image.png)
    3. Send the Message & Verify

      • Run the flow and check if the image appears in Teams.
  • Suggested answer
    trice602 Profile Picture
    16,071 Super User 2026 Season 1 on at
    Hi,
     
    I believe an adaptive card is the best answer here. Use this in the "Post adaptive card in a chat or channel" action in Power Automate
     
    {
      "type": "message",
      "attachments": [
        {
          "contentType": "application/vnd.microsoft.card.adaptive",
          "content": {
            "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
            "version": "1.4",
            "type": "AdaptiveCard",
            "body": [
              {
                "type": "Image",
                "url": "https://example.com/image.png",
                "altText": "Example Image",
                "size": "Medium"
              },
              {
                "type": "TextBlock",
                "text": "Here is an image example in Teams!",
                "wrap": true
              }
            ]
          }
        }
      ]
    }
     
    OR you can use the HTML in Chat message directly (only works from Power automate, not manually typed in messages.  Image must be in SharePoint, Teams, OneDrive.
     
    <img src="https://example.com/image.png" width="300" height="200" />
     
     

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

     
  • trice602 Profile Picture
    16,071 Super User 2026 Season 1 on at
    Hey there!
     
    I am following up on this post add a png/jpeg image to teams message in this category building flows from 02/12/2025.  I know the post is a little older, but it is a common question here so wanted to take a moment and follow-up. I see there have been 2 replies and 1 likes and asking if your question has been answered.  If so, please help the community out by completing one or more of the following actions!  Thanks in advance!
     
    Easy as 1-2-3 ‼️💯⭐😎🆒🙏
     
    1) Mark a reply as a verified answer - this is essential, and it helps others with the same general question find this thread. ✅
    2) You can also mark one of more replies as a verified answer.  Please take a moment and give the author credit for volunteering their time. ✌️
    3) Like one or more replies.  Kudos always greatly appreciated! 👍
     
    Pro tip:  if you found your own solution or workaround, feel free to add a reply to your own post and mark it as the solution too!  The goal is to get this thread marked with a verified answer by anyone that finds one or more replies helpful!
     
    Again, thanks in advance for reading and responding, always glad to help!  Tom 💯💯💯💯💯
  • trice602 Profile Picture
    16,071 Super User 2026 Season 1 on at
    If I can help with anything else please let me know or tag me in a future post, I enjoy reading and answering questions.  Always glad to help!  Tom 💯💯💯💯💯

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard