I am using the 'Post message as the Flow Bot' action to post Microsoft Teams 'message body content' to a Teams channel. It works, but the resultant post contains extraneous HTML.
If I use 'Post a message' action instead of the flow bot, it works perfectly, but this posts the message as me (which I don't want).
Can anyone help?
Is the message body coming from an eMail? I wonder if that's where the HTML is coming from.
Try inserting an interim step, "Convert HTML to Text" and see if that cleans it up.
Keep us posted.
-Ed-
Hi Ed,
Thanks for the quick reply.
The message body is coming from an email in HTML as you guessed. I can't convert to plain text as I need to keep the HTML for the formatting. The problem is that the Flow Bot is not interpreting the HTML correctly. When I post using the Flow Bot, I get the result below:-
However, when I use flow to post the message as myself, it works perfectly. See below:-
Thanks again for any advice you can give.
Regards,
Julian
Unfortunately not, sorry! I think it's a bug that will get resolved in its own time.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
45 | |
42 | |
37 | |
36 | |
23 |
User | Count |
---|---|
41 | |
31 | |
28 | |
28 | |
27 |