Forum Discussion

jocsch's avatar
jocsch
Brass Contributor
Feb 06, 2021

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?

 

  • Hi jocsch,

     

    Thanks for reaching out to us.
    We have already started checking the issue internally and we will update you ASAP.
    • Rama-MSFT's avatar
      Rama-MSFT
      Icon for Microsoft rankMicrosoft

      Hi @jocsch,

       

      I have gone through your issue, as we need to test the adaptive card to know how it renders, we would request you to share us the manifest json.

Resources