cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ShadowTech
Post Prodigy
Post Prodigy

Image in adaptive card for MS Teams not displaying

Hello,

 

I have created an adaptive card for a post to MS Teams. Everything works except the image does not display. All it shows is undefined where the picture should be. The image is well within the 1024x1024 and 1mb size (.png). This image is hosted in a folder in SharePoint

 

Also, the image displays fine on the web. I'm assuming this is an issue with credentials. So then I guess my question would be then what is the best course of action/ solution and how to perform that solution?

 

222.png

1 ACCEPTED SOLUTION

Accepted Solutions

@ShadowTech  @Chris_M  you could try by uploading the same image into a public service like imgur or google, I try and in both places the public image is displayed.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

9 REPLIES 9
ChristianAbata
Community Champion
Community Champion

hi @ShadowTech  the image has public access?



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Chris_M
Frequent Visitor

I have exactly the same issue. My images have permissions set for everyone. 

On the Teams desktop app the images do not display.

 

Chris_M_0-1596464134975.png

 

 

On the teams web app everything works fine.

Annotation 2020-08-03 091753.jpg

 

 

 

I think I was reading something where its the way the desktop application authenticates or something. Not sure why. They both have the same access.

@ShadowTech  @Chris_M  you could try by uploading the same image into a public service like imgur or google, I try and in both places the public image is displayed.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

@ChristianAbata 

I don't think it fixes this issue. We have images that must stay in local SP library. I created bug report and hopefully it will be fixed.

Instead of using the image URL, try adding the thumbnail URL property (small, medium, large) of the

file  to your adaptive card.

 

hermkars_0-1603293125663.png

 

Thumbnails are generated outside of your tenant and the URL provides an access token, so that you can display the thumbnail in your Team desktop app.

 

 

@hermkars 

Thumbnails are generated outside of your tenant and the URL provides an access token, so that you can display the thumbnail in your Team desktop app.

 

yes this method works fine but the thumbnails expire very quickly, i am unable to display an image of my sharepoint on an adaptive card.
Has anyone happened to do it?
Thank you

ALP1
Continued Contributor
Continued Contributor

You can use th website 64-image.de and past the code in the url instead

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,855)