Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Hi @Li Emily ,
Good day! I hope you're doing well.
Based on the current Teams documentation, Teams supports only a limited subset of HTML formatting for bot messages. The supported HTML tags documented include tags such as <b>, <strong>, <i>, <em>, <u>, <s>, <br>, <hr>, <a>, and <img>. HTML table-related tags such as <table>, <tr>, and <td> are not listed among the supported tags. The documentation also notes that Extended Markdown mode does not support arbitrary HTML.
As a result, Teams may not process custom table formatting or styling attributes as expected, including attempts to control row height. I was unable to find any Microsoft documentation that specifically states row height can be customized for tables in bot messages or Thumbnail Cards.
For your reference:
Therefore, the behavior you observed may be expected, as there is currently no documented support for controlling table row height within Teams bot message rendering. If a more compact layout is required, you may consider redesigning the content using supported card elements or Adaptive Cards, which provide a more predictable rendering experience across Teams clients.
Hope this helps.
Kind Regards.