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 / Posting a Teams messag...
Power Automate
Answered

Posting a Teams message with an image stored in SharePoint?

(0) ShareShare
ReportReport
Posted on by 2

I'm using the Post message in a chat or channel action from the Microsoft Teams connector. When I use an HTML image tag with a src value of an image I find online (such as https://upload.wikimedia.org/wikipedia/commons/thumb/c/c9/Microsoft_Office_Teams_%282018%E2%80%93present%29.svg/1200px-Microsoft_Office_Teams_%282018%E2%80%93present%29.svg.png) it posts the image in the message as expected. 

 

When I swap the src to the URL of an image hosted on SharePoint, the image does not render and a gray box posts instead. I am getting the URL of the SharePoint hosted image using the Copy link feature in SharePoint.

 

How can I get the SharePoint hosted image to work properly?

Categories:
I have the same question (0)
  • Verified answer
    HenWang Profile Picture
    Microsoft Employee on at

    Hi @katiesdev ,

     

    This is not possible to happen because the sp image link is not public, which means there would be permission issue when you insert the image link directly into teams message and it will show you a gray box as expected.

     

    However, you may consider the "Post card in a chat or channel" action to do this, which is the adaptive car way.

    If you are interested in this way, you can directly refer to here: Send image from SP library as a teams message - Power Platform Community (microsoft.com)

     

    Please be noted that the last action is now renamed wtih "Post card in a chat or channel".

     

    Hope this can help.

     

    BR,

    Hen Wang

     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard