web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Need to Render to Disp...
Power Automate
Suggested Answer

Need to Render to Display Markdown + HTML in Teams via Power Automate

(0) ShareShare
ReportReport
Posted on by 2

Hi Community 👋,

I'm working on a use case where I need to send rich HTML + Markdown content to a 1:1 Teams chat using Power Automate.


🔧 Flow I'm Using:

  1. I take dynamic content in HTML + Markdown which includes:

    • Ordered lists

    • Tables

    • Headings

    • Bullet points (Nested)

    • Images
      etc.

  2. I convert that HTML/Markdown content into Adaptive Card JSON using a custom Python script.

  3. Then in Power Automate, I:

    • Send an HTTP POST request that delivers the generated Adaptive Card JSON

    • Post it into a 1:1 chat using Microsoft Graph API


❌ The Problem:

  • Adaptive Cards inside Teams chat have width limitations.

  • Even with "size": "Stretch" or "width": "Full", the card still looks narrow.

  • Tables don't have any border.


💬 What I'm Looking For:

1. Is there any working way to:

  • Increase the width of an Adaptive Card in a Teams 1:1 chat?

  • Force Teams to render wider content inside chat?

2. If not possible with Adaptive Cards:

  • Is there any alternative solution to render full Markdown + HTML (including tables & images) in 1:1 chat or via a modal?


🧪 What I’ve Tried:

  • Adaptive Card Task Module modal (but unclear how to trigger from Power Automate without a full Teams bot)

  • Tried "width": "Full", "Stretch", custom containers — no success.

Output:

For reference i have added few outputs ss below:

  • The first image describe the output of adaptive card which is half the screen.
  • The second image describe the output of directly passing the html content and the teams doesn't parse it.
  • The third image represents out of first converting html to text connector than that output is send which doesn't include markdown, newline other major html5 tag conversion.

 


If anyone has a sample using Task Module with Power Automate to display wide Adaptive Cards or HTML content, please share 🙏

Appreciate any guidance, code samples, workarounds, or alternate approaches!

Thanks in advance,
Vaibhav

Categories:
I have the same question (0)
  • Suggested answer
    sandeep_angara Profile Picture
    424 Super User 2025 Season 2 on at
     
    We can have borders to the tables, have you tried the below properties as mentioned in screenshot?
     
     
     
  • Suggested answer
    CU10061316-0 Profile Picture
    2 on at
    @sandeep_angara

    Thanks for help but it is not case I am talking about as I mention in the post that I have dynamic HTML + Markdown content which I need to render so it will come from flow above it.

    And I am not using POST Adaptive Card Action in power automate instead I am converting above content into Json format for adaptive card through a script and through HTTP trigger I am sending an adaptive card.

    I can skip the Adaptive card and directly render the HTML + Markdown content if there is any other way. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard