It seems there was a recent update to Power Automate. Since then, Send an Email (v2), when formatting the body using HTML code, saving the action retains the content of the email but all HTML formatting and code is wiped out and you're left with plain text. Anyone else encountering this and is there a workaround/solution?
Solved! Go to Solution.
Hi @ericonline - the best method I have found to avoid this is to place all HTML code in a Compose action and add the dynamic value output of the compose item to the body of the email action. Be careful to insert the Compose output into the code view (highlighted in screenshot), else PA will place your HTML inside a <p></p> which may break your HTML. Be it annoying, it has helped prevent Microsoft's change from erasing my HTML body. Hope this helps!
Hi @Alan_Sanchez ,
Could you please share a screenshot of the configuration of the flow and share the HTML code so we could reproduce the issue?
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the reply @v-alzhan-msft
Shouldn't need a screenshot to reproduce, just create an action to send an email and insert HTML. Save, reopen, and all structuring code should be gone. Attaching some screenshots to show what I'm seeing though.
This appears to have started happening between 9/28/20 @ 9:23pm and 9/29/20 @ 7:56am (both times Eastern).
This is what the HTML email is supposed to look like:
UPDATE: I notice that switching to code view, inserting the HTML into the body field, saving AND NEVER COLLAPSING OR CLOSING the email action box while saving will retain the HTML. However, closing or collapsing the box and reopening will erase all HTML structure reducing the action to text only emails.
Hopefully this helps resolve the issue.
If you drop your code in but do not re-open the action, it seems to retain the code. The moment you open, Microsoft wipes it out. I recommend saving the HTML locally so you can make your edits there since Microsoft seems to have no interest in fixing the feature they broke.
Another approach is to drop your HTML into a Compose action then have the Email action access the output. This is the only way I have found so far to fix what MS broke last October.
@v-alzhan-msft- Is MS still ignoring the bug?
Check out the News & Announcements to learn more.
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.