Forum Discussion

konads's avatar
konads
Copper Contributor
Jul 10, 2020

Teams is not showing posted image via Automation

Hi,

 

I want to create message on teams channel which contains link to an image using Microsoft Power Automation. The posting general works but the image is not shown.

HTML result of the step:

 

<p>Screen updated: <a href="">test</a><br>
<img src="https://cdn.zeplin.io/5ef45574a2feb5a02a4b1e07/screens/612CB255-CABA-4E24-9A29-E568C5FBC7A1.png"><br>
<img src="https://public-cdn.zeplin.dev/5ef45574a2feb5a02a4b1e07/screens/612CB255-CABA-4E24-9A29-E568C5FBC7A1.png?Expires=1600863702&Key-Pair-Id=APKAJKD6BRIMESUCGIPA&Signature=WZQzU9FFyJEqxxgm5SfncvyzTS6LCn9Cky2E6b92gKH0ZgiWyx65-7Jz7H8h~mFWJGMfOxBlwpR1KGpcyHBGy0PtVhXQEhzcZJAGKWD0GctAzHmV4JAinC1rIN8l-jPKTHQ9iPCKakcU0IdbjeEvpwbFRIt1vm-LpDA~mxHqoh4Rj0nBbG~LkaW~o~3~Z27ykRv6qeM-1SQkK-nz7-ky6dSSyYeLfXRSkziLmkz0FG5Q6yxOsNNoOcTB2n38HuxKVpBWc2H-BCIc14KNt6bwxDV4QzbvRoWKNZ5O56NWRpsccNowuLLeEt~rOFevy2HqEwa1xHLT2rqXNr3fTQW1vQ__"><br>
</p>

 

and result in teams

 

If I will use different image url then it works

 

<p>Screen updated: <a href="">test</a><br>
<img src="https://storage.googleapis.com/tedee-wp/2019/12/zestaw.png">
</p>

 

What is wrong with the previous urls, both are publicly available?

  • konads - Currently Teams does not support the images with larger size. Maximum size of the image is 024×1024 and 1 MB in PNG, JPEG, or GIF format; animated GIF are not supported. Could you please check these docs?

  • konads's avatar
    konads
    Copper Contributor

    I think it depends of the image size. If it is smaller then everything works fine. Is there some kind of limit and why?

    • Nikitha-MSFT's avatar
      Nikitha-MSFT
      Icon for Microsoft rankMicrosoft

      konads - Currently Teams does not support the images with larger size. Maximum size of the image is 024×1024 and 1 MB in PNG, JPEG, or GIF format; animated GIF are not supported. Could you please check these docs?

      • konads's avatar
        konads
        Copper Contributor

        Nikitha-MSFTthank you for the link to the documentation, I could not find it. So there is no way in automation to attach the image 😞

        Cannot you support a little bigger resolution? 🙂

Resources