title: microsoft teams : escaping underscores in text posting to webhook
body: <p>I am posting a list of Azure resource groups to a channel in teams using incoming webhook.</p>
  
  <p>Some Azure resource groups have underscores in them, these are getting parsed and the text between two underscores is italicized. From the docs I could gather that it's Markdown behavior but I am unable to escape underscores using a <code>\</code> (backslash) similar to how you would do in Markdown.</p>
  
  <p>What is the right way to post text with underscores such that its rendered correctly?</p>
  
  <p>(Would be nice to know what variant of Markdown is being used.)</p>
  
  <p>Sample payload:</p>
  
  <pre><code>{
    "text": "&lt;br/&gt;&lt;h1&gt;Some text (some azure subscription id)&lt;/h1&gt;&lt;br/&gt;some text (more text): &lt;br/&gt;['resource_group_name_1', 'resource_group_name_2', 'resourcegroup-rg-foo-bar']&lt;br/&gt;&lt;br/&gt;some text (more text): &lt;br/&gt;['resourcegroupname']&lt;br/&gt;&lt;br/&gt;See &lt;a href="https://someaccount.visualstudio.com/_git/reponame?path=%2FREADME.md"&gt;documentation&lt;/a&gt; and &lt;a href="https://someaccount.visualstudio.com/someproject/_build?definitionId=1234&amp;_a=summary"&gt;sometext&lt;/a&gt;."
  }
  </code></pre>
  
  <p><code>resourcegroup-rg-foo-bar</code> appears as is, but <code>resource_group_name_1</code> appears like resource<em>group</em>name1.</p>