Jul 26 2022 08:19 AM
I am using Logic app to send query outcome via email. I found article how to compose logic app that will use 5 queries (4 charts and 1 table). I would like to send them via email. The queries are fine, visualize data well. However when sending email it only renders the table.
I am wondering if there is any additional processing that i have to add
It generates in the email only the HTML table, not the image of graphs that are normal timechart or pie chart.
If i try to send just one chart it still does not sent through
can you please help me
Oct 18 2022 05:56 AM
@T150732D Hi, did you ever figure out how to do this? I'm having the same issue.
Mar 03 2023 09:04 AM
If you have not yet figured out yet, go to code section and remove base64tostring from the section
Mar 06 2023 04:40 PM
Dec 06 2023 06:48 AM
Did you ever get this figured out? We are having the same issue. I saw the comment from Jysk0, who said to remove base64tostring but do not see where to do that. Any help would be appreciated.
Jan 11 2024 04:16 AM
From the logic app code view you can edit the query part to include img tag with the output of the KQL query. The MIME type I used was jpeg and it worked for me
Jan 11 2024 06:23 AM
Thank you for the reply. Can you include your query and possibly explain that a bit more. We did get the email attachment working but not in the body.
Jan 15 2024 10:47 PM - edited Jan 15 2024 10:52 PM
@sentineladmin
In the logic app code view you can go to the "Send_an_email_(V2)" body where the pie chart (Add attachment content for any graph you want) in the query will be visible. From there you have to remove the base64 conversion, and add the img tag as below, the MIME type will be jpeg as shown, the kql displays charts in jpeg
Previous Query -
Jan 17 2024 02:05 PM