cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

'Post message as the Flow Bot' messages contain extraneous HTML

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 (i.e. post the message as myself), it works perfectly.

 

Screenshot 2019-06-07 at 13.52.12.png

9 REPLIES 9
Community Support
Community Support

Hi @DoowopDobbo ,

 

Could you share a screenshot of your flow?

 

When testing this issue on my side, there are no extraneous HTML appear.

1.PNG

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Many thanks for the reply. Please see attached. Regards, Julian

 

Screenshot 2019-06-14 at 09.34.35.png

Hi @DoowopDobbo ,

 

Thanks for the screenshot.

 

I have just tested using the similar configuration with you. However, the issue still could not be reproduced.

1.PNG2.PNG

 

Are you still having the issue? Could you try with a different browser?

 

Best regards,

Mabel

 

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Mabel, many thanks for the reply.

 

Looking back at my original post, I haven't been clear with some detail. The frst part of the flow is 'When a new channel message is added' to Teams. This message arrives via an HTML formatted email to the channel's email address. This is when the flow kicks in.

 

Is it possible for you to test with an HTML formatted email sent to the channel?

Hi @DoowopDobbo ,

 

Thanks for updating with more details.

 

Please try adding action Html to text to convert the email body to plain text first, then post it in the Teams channel.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Many thanks for the reply Mabel.

 

Using the HTML to text action works, however, the text contains some really long hyperlinks which ends up making the text unreadable (see attached).

 

The whole flow works perfectly without the above HTML conversion if I post the message as myself rather than the FlowBot. This makes me think it's a bug in the 'Post as FlowBot' code?

 

Screenshot 2019-06-21 at 12.03.16.png

Hi @DoowopDobbo ,

 

As the issue could not be reproduced from my side.

 

Could you please share a URL to the flow? I will help involve more resources into this issue for further investigation.

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Mabel,

 

You'll have to excuse my naivety on this, but is sharing the URL to the Flow as simple as copying from the address bar?

 

If so, do logon credentials come into this?

 

Regards,

 

Julian

Hi Mabel,

 

I'm not sure if you received my post, but is sharing the URL to the Flow as simple as copying from the address bar?

 

If so, do logon credentials come into this?

 

Many thanks in advance.

 

Regards,

 

Julian

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (46,507)