News link Adaptive card image problem

Contributor

I followed this guide to be able to post news to other Teams channels than the one connected to the site.

https://blog.yannickreekmans.be/sharepoint-news-notifications-in-microsoft-teams-using-flow-and-adap...

I get everything to work when using News posts but when it comes to news links I have a problem. 

Actually don´t really understand what I´m doing here.

 

Initialize a variable as string with the Banner url

Send a http request GET 

concat('/_layouts/', split(triggerBody()?['BannerImageUrl'], '/_layouts/')[1])
Set the variable
concat('data:', body('Get_Banner_Image_content')?['$content-type'], ';base64,', body('Get_Banner_Image_content')?['$content'])
 
In a news link this work for images in the stock library but not on images I upload myself, why is this?
 
0 Replies