<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MS teams Adaptive card for Problem notifications in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Send-Dynatrace-Problem-Notifications-via-MS-Teams-Adaptive-Cards/m-p/259659#M2280</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/48936"&gt;@linux43110&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can test using the Power apps and teams instead of&amp;nbsp;&lt;SPAN&gt;Power Automate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2024 09:32:44 GMT</pubDate>
    <dc:creator>Peter_Youssef</dc:creator>
    <dc:date>2024-10-18T09:32:44Z</dc:date>
    <item>
      <title>Send Dynatrace Problem Notifications via MS Teams Adaptive Cards</title>
      <link>https://community.dynatrace.com/t5/Automations/Send-Dynatrace-Problem-Notifications-via-MS-Teams-Adaptive-Cards/m-p/259585#M2278</link>
      <description>&lt;P&gt;&lt;EM&gt;Summary:&amp;nbsp;This thread explains how to build MS Teams Adaptive Cards for Dynatrace problem notifications. It includes details on required JSON structures, webhook configuration, and how to display relevant incident information in Teams.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;MS Teams have moved to Adaptive Cards when sending content via a webhook, it took me some time to wrap my head around this but here is my simple card. Hopefully, you can extend it as needed. For some reason, it would only work in version 1.4, but that might be unique to our MS Teams.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "type": "message",
  "attachments": [
    {
      "contentType": "application/vnd.microsoft.card.adaptive",
      "contentUrl": null,
      "content": {
        "type": "AdaptiveCard",
        "body": [
          {
            "type": "TextBlock",
            "size": "Medium",
            "weight": "Bolder",
            "text": "{ProblemSeverity} - {ProblemImpact}",
            "style": "heading",
            "wrap": true
          },
          {
            "type": "TextBlock",
            "text": "{ProblemTitle}",
            "wrap": true
          },
          {
            "type": "FactSet",
            "facts": [
              {
                "title": "PID:",
                "value": "{PID}"
              },
              {
                "title": "Problem Details:",
                "value": "{ProblemDetailsText}"
              }
            ]
          }
        ],
        "actions": [
          {
            "type": "Action.OpenUrl",
            "title": "View",
            "url": "{ProblemURL}",
            "role": "button"
          }
        ],
        "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
        "version": "1.4"
      }
    }
  ]
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what the test message looks like&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-17 at 15.00.34.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23744iD838821FB851F1D0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2024-10-17 at 15.00.34.png" alt="Screenshot 2024-10-17 at 15.00.34.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 23 Jan 2026 10:17:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Send-Dynatrace-Problem-Notifications-via-MS-Teams-Adaptive-Cards/m-p/259585#M2278</guid>
      <dc:creator>nickmarchini</dc:creator>
      <dc:date>2026-01-23T10:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: MS teams Adaptive card for Problem notifications</title>
      <link>https://community.dynatrace.com/t5/Automations/Send-Dynatrace-Problem-Notifications-via-MS-Teams-Adaptive-Cards/m-p/259597#M2279</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/31512"&gt;@nick&lt;/a&gt;&amp;nbsp;!&amp;nbsp; &amp;nbsp; Were you using the "Post to a channel when a webhook request is received" workflow template without modifications?&amp;nbsp; &amp;nbsp;I'm getting the following error:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Action 'Post_card_in_a_chat_or_channel' failed: Post as Power Apps can only be used to send Cards for Power Apps into Teams. Please add Cards for Power Apps action in your flow.&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;I've been actively working on getting Problem notifications working via the new MS Teams / PowerAutomate webhooks for the past few days and getting hung up on the proper formatting of the payload so your post above was quite timely and appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:40:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Send-Dynatrace-Problem-Notifications-via-MS-Teams-Adaptive-Cards/m-p/259597#M2279</guid>
      <dc:creator>linux43110</dc:creator>
      <dc:date>2024-10-17T15:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: MS teams Adaptive card for Problem notifications</title>
      <link>https://community.dynatrace.com/t5/Automations/Send-Dynatrace-Problem-Notifications-via-MS-Teams-Adaptive-Cards/m-p/259659#M2280</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/48936"&gt;@linux43110&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can test using the Power apps and teams instead of&amp;nbsp;&lt;SPAN&gt;Power Automate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 09:32:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Send-Dynatrace-Problem-Notifications-via-MS-Teams-Adaptive-Cards/m-p/259659#M2280</guid>
      <dc:creator>Peter_Youssef</dc:creator>
      <dc:date>2024-10-18T09:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: MS teams Adaptive card for Problem notifications</title>
      <link>https://community.dynatrace.com/t5/Automations/Send-Dynatrace-Problem-Notifications-via-MS-Teams-Adaptive-Cards/m-p/265237#M2281</link>
      <description>&lt;P&gt;Hi Nick,&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your json I notice that you use Dynatrace variables, so I guess that this is your configuration on the Dynatrace side.&lt;/P&gt;&lt;P&gt;How does the configuration for adaptive card look like in your Teams workflow? This is exactly what I am trying to achieve as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 13:22:37 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Send-Dynatrace-Problem-Notifications-via-MS-Teams-Adaptive-Cards/m-p/265237#M2281</guid>
      <dc:creator>jonhaugen</dc:creator>
      <dc:date>2024-12-13T13:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: MS teams Adaptive card for Problem notifications</title>
      <link>https://community.dynatrace.com/t5/Automations/Send-Dynatrace-Problem-Notifications-via-MS-Teams-Adaptive-Cards/m-p/265472#M2282</link>
      <description>&lt;P&gt;I was able to replicate your example message with the following configuration:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jonhaugen_0-1734431106252.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/25266i2A69D7D51A52AB6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jonhaugen_0-1734431106252.png" alt="jonhaugen_0-1734431106252.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 10:25:39 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Send-Dynatrace-Problem-Notifications-via-MS-Teams-Adaptive-Cards/m-p/265472#M2282</guid>
      <dc:creator>jonhaugen</dc:creator>
      <dc:date>2024-12-17T10:25:39Z</dc:date>
    </item>
  </channel>
</rss>

