<?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 Dynatrace Teams Integration in Automations</title>
    <link>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/256864#M1799</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I hope this message finds you well.&lt;/P&gt;
&lt;P&gt;I would like to explore the options available for routing alerts from a single Teams channel to multiple Teams channels. Currently, I am directing all Dynatrace alerts to one Teams channel, and I am interested in finding a way to distribute these alerts to various channels without having to create multiple profiles or alert notifications on the Dynatrace portal.&lt;/P&gt;
&lt;P&gt;Any insights or suggestions on how to achieve this would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thank you for your assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2024 06:42:27 GMT</pubDate>
    <dc:creator>amandadi</dc:creator>
    <dc:date>2024-09-24T06:42:27Z</dc:date>
    <item>
      <title>Dynatrace Teams Integration</title>
      <link>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/256864#M1799</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I hope this message finds you well.&lt;/P&gt;
&lt;P&gt;I would like to explore the options available for routing alerts from a single Teams channel to multiple Teams channels. Currently, I am directing all Dynatrace alerts to one Teams channel, and I am interested in finding a way to distribute these alerts to various channels without having to create multiple profiles or alert notifications on the Dynatrace portal.&lt;/P&gt;
&lt;P&gt;Any insights or suggestions on how to achieve this would be greatly appreciated.&lt;/P&gt;
&lt;P&gt;Thank you for your assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 06:42:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/256864#M1799</guid>
      <dc:creator>amandadi</dc:creator>
      <dc:date>2024-09-24T06:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Teams Integration</title>
      <link>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/256961#M1800</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/81065"&gt;@amandadi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding the raised concern, simple logic behind the case Dynatrace only pushes the notification to the target integration channel for example teams webhook which means:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Dynatrace will send the notification to the target integration channel only.&lt;/LI&gt;&lt;LI&gt;No distribution list is configured on Dynatrace side.&lt;/LI&gt;&lt;LI&gt;So, the distribution or the workaround can be configured on Teams side for example based on configuration parameters like tags, properties, specific criteria.&lt;/LI&gt;&lt;LI&gt;Then teams webhook based on the inputs received can decide where to route the notification.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;You can refer to the below links for more information and how to configure it:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.dynatrace.com/docs/observe-and-explore/notifications-and-alerting/problem-notifications/microsoft-teams-integration#expand--example" target="_self"&gt;MS Teams Integration&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.dynatrace.com/docs/shortlink/microsoft-teams-integration" target="_self"&gt;Microsoft-teams-integration&lt;/A&gt;&amp;nbsp; "create power automate webhook" "applicable solution"&lt;/LI&gt;&lt;LI&gt;Another solution "&lt;A href="https://learn.microsoft.com/en-us/microsoftteams/platform/toolkit/teams-toolkit-fundamentals" target="_self"&gt;Microsoft Teams Toolkit Overview&lt;/A&gt;&amp;nbsp;"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Peter.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 11:22:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/256961#M1800</guid>
      <dc:creator>Peter_Youssef</dc:creator>
      <dc:date>2024-09-24T11:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Teams Integration</title>
      <link>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/258008#M1806</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/81065"&gt;@amandadi&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;There is one way of achieving this which would be using workflows. (If you're on SaaS tenant)&lt;BR /&gt;You won't have to worry about alerting profiles and stuff then, but you have to obviously create multiple Teams webhooks. Typically, one per teams' channel.&lt;/P&gt;&lt;P&gt;Create a workflow on SaaS tenant.&lt;/P&gt;&lt;P&gt;Here are the workflow steps.&lt;BR /&gt;1. Trigger would be based on Problems. (Select problem trigger)&amp;nbsp;&lt;BR /&gt;Consider this as a sample&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Maheedhar_T_0-1727965098965.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23170iA132164F40298591/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Maheedhar_T_0-1727965098965.png" alt="Maheedhar_T_0-1727965098965.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2. The second step would be to get the required details from problem trigger. (Ideally when we use this trigger, we get the problem data passed as payload to the workflow).&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;import { execution } from '@dynatrace-sdk/automation-utils';

export default async function ({ execution_id }) {
  const ex = await execution(execution_id);
  let payload;
  
 //Here the params.event has all the problem related data.
    const tags = ex.params.event.entity_tags;
    const root_cause_entity_id = ex.params.event.root_cause_entity_id;
    const root_cause_entity_name = ex.params.event.root_cause_entity_name;
    const display_id = ex.params.event.display_id;
    const pid = ex.params.event['event.id'];
    const event_state = ex.params.event['event.status'];
    const event_transition_state = ex.params.event['event.status_transition'];
    const event_category = ex.params.event['event.category']
    const event_name = ex.params.event['event.name']
    payload =
    {
        "root_cause_entity_id": root_cause_entity_id,
        "root_cause_entity_name": root_cause_entity_name,
        "display_id": display_id,
        "pid": pid,
        "event_state": event_state,
        "event_transaction_state": event_transition_state,
        "event_category": event_category,
        "event_name": event_name
    }
  return payload;
}&lt;/LI-CODE&gt;&lt;P&gt;3. Now use this payload in next step to filter out problems and route them to different channels based on your requirement.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this Helps.&lt;BR /&gt;Regards,&lt;BR /&gt;Maheedhar&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 14:24:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/258008#M1806</guid>
      <dc:creator>Maheedhar_T</dc:creator>
      <dc:date>2024-10-03T14:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Teams Integration</title>
      <link>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/258078#M1808</link>
      <description>&lt;P&gt;Thank you for your inputs&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/51369"&gt;@Peter_Youssef&lt;/a&gt;&amp;nbsp;!!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 19:22:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/258078#M1808</guid>
      <dc:creator>amandadi</dc:creator>
      <dc:date>2024-10-03T19:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Teams Integration</title>
      <link>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/258079#M1809</link>
      <description>&lt;P&gt;Sure, thank you so much for detailed info, will try this approach&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/76275"&gt;@Maheedhar_T&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 19:23:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/258079#M1809</guid>
      <dc:creator>amandadi</dc:creator>
      <dc:date>2024-10-03T19:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynatrace Teams Integration</title>
      <link>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/258102#M1810</link>
      <description>&lt;P&gt;Hey Amandadi,&lt;/P&gt;&lt;P&gt;Teams channels support receiving messages via email. You could use that to have 1 email integration that has each channels address in the "to" section.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fin_Ubels_0-1728011357711.png" style="width: 200px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23219iBEE6E4660EB914D2/image-size/small?v=v2&amp;amp;px=200" role="button" title="Fin_Ubels_0-1728011357711.png" alt="Fin_Ubels_0-1728011357711.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fin_Ubels_1-1728011449636.png" style="width: 200px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23220i87FB24A169616D6E/image-size/small?v=v2&amp;amp;px=200" role="button" title="Fin_Ubels_1-1728011449636.png" alt="Fin_Ubels_1-1728011449636.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This solution is only good if the number of problems generated doesn't breach teams thresholds that can be found &lt;A href="https://learn.microsoft.com/en-us/microsoftteams/limits-specifications-teams#emailing-a-channel" target="_self"&gt;here&lt;/A&gt; so do be careful. If there are high volumes I would explore the options suggested by the other community members.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 03:18:46 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Automations/Dynatrace-Teams-Integration/m-p/258102#M1810</guid>
      <dc:creator>Fin_Ubels</dc:creator>
      <dc:date>2024-10-04T03:18:46Z</dc:date>
    </item>
  </channel>
</rss>

