Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Table in teams channel have no spacing

(0) ShareShare
ReportReport
Posted on by 892

Hi, 

 

is there a way to make this look more readable? Like spacing/padding on td?

 

Screenshot 2023-01-19 154141.jpg

I did a replace <td> to <td padding="5px"> on the output of the Create HTML table and it did nothing for the message itself.

replace(body('Create_HTML_table'),'<td>','<td padding="5px">

 

It shows up in the power automate message though:

Screenshot 2023-01-19 154802.jpg

 

 

 

  • grantjenkins Profile Picture
    11,059 Super User 2025 Season 1 on at
    Re: Table in teams channel have no spacing

    It actually looks like Table formatting isn't currently supported in bot messages from what I've read.

     

    Format your bot messages - Teams | Microsoft Learn

     

    Quote:

    Currently, the following limitations apply to formatting:

    • Text-only messages don't support table formatting.
    • Rich cards support formatting in the text property only, not in the title or subtitle properties.
    • Rich cards don't support markdown or table formatting.
  • Verified answer
    v-chengfen-msft Profile Picture
    on at
    Re: Table in teams channel have no spacing

    Hi @shavora ,

    Please try:

    replace(body('Create_HTML_table'),'<table>','<table style="width:100%" border="1">')

    vchengfenmsft_0-1674181435858.png

    Here is reasult:

    vchengfenmsft_1-1674181475010.png

     

     

    Best Regards

    Cheng Feng

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >