Forum Discussion
Image inserted in incoming webhook is not working for new Teams version.
I am trying to insert an image into an incoming webhook using adaptive card and message card. But it is not displaying in the new Microsoft Teams version (23217.806.2340.1703.).
But this is working on Old Teams version 1.6.00.24078 (64-bit).
I am using below sample code to display this card.
{
"type": "message",
"attachments": [
{
"contentType": "application/vnd.microsoft.card.adaptive",
"contentUrl": null,
"content": {
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.5",
"body": [
{
"type": "TextBlock",
"text": "For Samples and Templates, see [https://adaptivecards.io/samples](https://adaptivecards.io/samples)"
},
{
"type": "Image",
"url": "https://adaptivecards.io/content/cats/1.png"
}
]
}
}
]
}
Please reply if you have any solution to this issue or have any suggestions.
Thanks,
- Meghana-MSFTMicrosoftWe are also able to repro this issue, we will check internally and get back to you.
- anishabhyankarBrass ContributorHi Meghana-MSFT, Thank you for reply. Yes please let me know if you find anything.
- Meghana-MSFTMicrosoft
We raised a bug for the same, we will keep you posted on the updates. Thank you.
Thanks,
Meghana
----------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- matthewrydzikCopper ContributorWe're also experiencing the same issue. This is a blocker for us switching to new teams.
- emilSociuuCopper ContributorSeveral of my clients are having the same issue and is a course of great frustration. Any news on this?
- Meghana-MSFTMicrosoftApologies for the inconvenience caused to you. Unfortunately, we do not have any ETA to share with you. We will keep you posted on the updates. Thank you.
- dlinncrCopper ContributorWe are also experiencing a this issue in our teams app. No images are showing in adaptive cards in 'New Teams'.
- tatitatiCopper Contributor
To address this, you might want to check the image URL's format, ensure it's publicly accessible, and verify if it follows Teams' adaptive card image guidelines. If issues persist, reaching out to Teams support or checking their community forums for any reported bugs could provide additional insights
- fusenycCopper Contributor
Any updates? We just switched to the new Teams software and noticed the exact same issue. Was working fine.
Other notifications using legacy format still works. Just not the images in adaptive card.
Meghana-MSFT Is there a workaround for this? The bug couldn't have broken all the image URLs I assume? Otherwise wouldn't this be a top priority bug?
- fusenycCopper ContributorI've switched to inlining base64 encoded image data instead, which works on adaptive card.
- javierqfCopper ContributorAny updates on this? This is very important for our controlling processes. We have several products in production which need this to work. Thank you in advance.
- Todd1561Copper Contributor
I'd like an update on this as well. MS is pushing "New Teams" very aggressively but not prioritizing bugs like this. It's been over 3 months at this point with no resolution in sight.
- Meghana-MSFTMicrosoftApologies for the inconvenience caused to you. The fix is being rolled out. We will update you once the fix reaches public rings.
- krodturntownCopper Contributor+1 Having this issue, causing headaches. Please update this thread when fixed.
- remisauvatCopper Contributor
I have the opposite issue.
We are using Teams on the Web and the images stopped rendering correctly on Jan 9th 2024 for adaptive cards posted using incoming webhook.
I use SVG images hosted on an public GCS bucket. This was working on monday 8th
And now it look like this:
Are svg images not supported in the New Teams ?
- Meghana-MSFTMicrosoft
remisauvat - Could you please raise a separate issue for this.