SOLVED

Teams is not showing posted image via Automation

%3CLINGO-SUB%20id%3D%22lingo-sub-1514410%22%20slang%3D%22en-US%22%3ETeams%20is%20not%20showing%20posted%20image%20via%20Automation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1514410%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20create%20message%20on%20teams%20channel%20which%20contains%20link%20to%20an%20image%20using%20Microsoft%20Power%20Automation.%20The%20posting%20general%20works%20but%20the%20image%20is%20not%20shown.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22konads_0-1594389473359.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F204601i14DB2AB9913B1859%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22konads_0-1594389473359.png%22%20alt%3D%22konads_0-1594389473359.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EHTML%20result%20of%20the%20step%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3CP%3EScreen%20updated%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2F%22%20target%3D%22_blank%22%3Etest%3C%2FA%3E%3CBR%20%2F%3E%0A%3CIMG%20src%3D%22https%3A%2F%2Fcdn.zeplin.io%2F5ef45574a2feb5a02a4b1e07%2Fscreens%2F612CB255-CABA-4E24-9A29-E568C5FBC7A1.png%22%20%2F%3E%3CBR%20%2F%3E%0A%3CIMG%20src%3D%22https%3A%2F%2Fpublic-cdn.zeplin.dev%2F5ef45574a2feb5a02a4b1e07%2Fscreens%2F612CB255-CABA-4E24-9A29-E568C5FBC7A1.png%3FExpires%3D1600863702%26amp%3BKey-Pair-Id%3DAPKAJKD6BRIMESUCGIPA%26amp%3BSignature%3DWZQzU9FFyJEqxxgm5SfncvyzTS6LCn9Cky2E6b92gKH0ZgiWyx65-7Jz7H8h~mFWJGMfOxBlwpR1KGpcyHBGy0PtVhXQEhzcZJAGKWD0GctAzHmV4JAinC1rIN8l-jPKTHQ9iPCKakcU0IdbjeEvpwbFRIt1vm-LpDA~mxHqoh4Rj0nBbG~LkaW~o~3~Z27ykRv6qeM-1SQkK-nz7-ky6dSSyYeLfXRSkziLmkz0FG5Q6yxOsNNoOcTB2n38HuxKVpBWc2H-BCIc14KNt6bwxDV4QzbvRoWKNZ5O56NWRpsccNowuLLeEt~rOFevy2HqEwa1xHLT2rqXNr3fTQW1vQ__%22%20%2F%3E%3CBR%20%2F%3E%0A%3C%2FP%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eand%20result%20in%20teams%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22konads_2-1594389864164.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F204606iF189157875436C16%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22konads_2-1594389864164.png%22%20alt%3D%22konads_2-1594389864164.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20I%20will%20use%20different%20image%20url%20then%20it%20works%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3CP%3EScreen%20updated%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2F%22%20target%3D%22_blank%22%3Etest%3C%2FA%3E%3CBR%20%2F%3E%0A%3CIMG%20src%3D%22https%3A%2F%2Fstorage.googleapis.com%2Ftedee-wp%2F2019%2F12%2Fzestaw.png%22%20%2F%3E%0A%3C%2FP%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20wrong%20with%20the%20previous%20urls%2C%20both%20are%20publicly%20available%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1514410%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1518948%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20is%20not%20showing%20posted%20image%20via%20Automation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1518948%22%20slang%3D%22en-US%22%3E%3CP%3EI%20think%20it%20depends%20of%20the%20image%20size.%20If%20it%20is%20smaller%20then%20everything%20works%20fine.%20Is%20there%20some%20kind%20of%20limit%20and%20why%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1520426%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20is%20not%20showing%20posted%20image%20via%20Automation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1520426%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F724909%22%20target%3D%22_blank%22%3E%40konads%3C%2FA%3E%26nbsp%3B-%20Currently%20Teams%20does%20not%20support%20the%20images%20with%20larger%20size.%20Maximum%20size%20of%20the%20image%20is%26nbsp%3B%3CSPAN%3E024%C3%971024%20and%201%20MB%20in%20PNG%2C%20JPEG%2C%20or%20GIF%20format%3B%20animated%20GIF%20are%20not%20supported.%20Could%20you%20please%20check%20these%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2Fresources%2Fbot-v3%2Fbot-conversations%2Fbots-conversations%23message-content%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Edocs%3C%2FA%3E%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1520789%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20is%20not%20showing%20posted%20image%20via%20Automation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1520789%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F590590%22%20target%3D%22_blank%22%3E%40Nikitha-MSFT%3C%2FA%3Ethank%20you%20for%20the%20link%20to%20the%20documentation%2C%20I%20could%20not%20find%20it.%20So%20there%20is%20no%20way%20in%20automation%20to%20attach%20the%20image%20%3A(%3C%2Fimg%3E%3C%2FP%3E%3CP%3ECannot%20you%20support%20a%20little%20bigger%20resolution%3F%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1522907%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20is%20not%20showing%20posted%20image%20via%20Automation%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1522907%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F724909%22%20target%3D%22_blank%22%3E%40konads%3C%2FA%3E%26nbsp%3B-%20Currently%20Teams%20does%20not%20support%20higher%20resolution.%20Could%20you%20please%20raise%20a%20user%20%3CA%20href%3D%22https%3A%2F%2Fmicrosoftteams.uservoice.com%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Evoice%3C%2FA%3E%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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.

konads_0-1594389473359.png

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

konads_2-1594389864164.png

 

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?

5 Replies

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

best response confirmed by konads (New Contributor)
Solution

@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?

@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? :)

@konads - Currently Teams does not support higher resolution. Could you please raise a user voice ?