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

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
Super User II
Super User II

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

View solution in original post

@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
Helper V
Helper V

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

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (25,186)