I was able to get this work in email perfectly, but I can't when posting to Teams. I have an output using HTML and the image coded in Base64 which does not seem to work in a Teams post. Everything else in the HTML does such as tables and formating. Is Base64 not supported in Teams maybe?
Hi @Anonymous ,
You can post table to Teams but posting an image to Microsoft Teams is not supported in Microsoft flow currently.
I afraid that there is no way to achieve your needs in Microsoft Flow currently.
If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:
Hi @Anonymous ,
I would suggest you to create a file from Base64 and store it Blob and get its URL . Use this URL in your message in teams like as following :
(Please mark it resolved if it helps you)
If you use Base64 directly in the Post message action the flow would not complain but in Teams you will have a broken image.
The below will not work.
Use an image URL instead of Base64:
If you want use Base64 no matter what then you post an Adaptive card.
I did a copy-paste of what you had and it is failing. Looks like a permissions issue to MS Graph? I have not worked with Adaptive cards yet, so I am really interested in what you are saying here.
I really like this idea, but I don't think I can use Azure Blob Storage. It would be an additional cost and I don't think I could get it approved.
Looks like my copy blocked access to MS Graph, so I will have to try some other testing. Hopefully, I can get this to work. Thanks again for the idea.
I am glad it is working with adaptive card. As this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. CHEERS!
is there a limit for the size of the Image that is used in Adaptiv Cards? I'm using the Base64 in the Adaptive Card and with some Images I get the error message (285x254, 29,95KB) "HTTP request error: The content is not a valid JSON".
The Flow itself works and the JSON seems correct since it works with another image (1,45KB, 96x96).
Check out new user group experience and if you are a leader please create your group
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Check out how to claim yours today!
Test your skills now with the Cloud Skill Challenge.