Image Gateway in Adaptive Cards in Webclient changed and fails to load images
I have a bot that uses adaptive cards as messages and renders some images within the cards.
So far this worked perfectly however starting with last Friday, I noticed that the image links in all newly issued cards are broken, while the previously issued cards have working image links. This is only happening in the web client. The desktop client works fine as also the IOS client.
Turns out, that the difference is in the image gateway. It used to be:
https://de-prod.asyncgw.teams.microsoft.com/urlp/v1/url/content?url=https%3a%2f%2fsome-url.com%2fsome-image.png
But now it is
https://urlp.asm.skype.com/v1/url/content?url=https%3a%2f%2fsome-url.com%2fsome-image.png
When I call the first link, the image loads perfectly, when I call the second I get a
<Error>
<Message>Authorization has been denied for this request.</Message>
</Error>
Please note that in the json of the adaptive card that my bot sends, there is no image gateway included but just the raw link. So the gateway is added by the rendering logic within Teams.
What do I need to do so my adaptive card can show the images again?
Where can I get notice of such changes before they affect my application?