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

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

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard