# Issue with MS Team webhook integration with DT

**URL:** <https://community.dynatrace.com/t/issue-with-ms-team-webhook-integration-with-dt/43241>\
**Category:** Automations\
**Tags:** webhook, microsoft-teams\
**Created:** [December 16, 2023, 6:13am UTC](https://community.dynatrace.com/t/issue-with-ms-team-webhook-integration-with-dt/43241 "2023-12-16T06:13:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjothili](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@sjothili](https://community.dynatrace.com/u/sjothili)\
**Post date:** [December 16, 2023, 6:13am UTC](https://community.dynatrace.com/t/issue-with-ms-team-webhook-integration-with-dt/43241/1 "2023-12-16T06:13:03Z")

</div>

We are implementing Dynatrace&nbsp; in all our hosted application servers. Here, we are configuring the Dynatrace with MS Teams webhook configuration for sending the alerts.

On MS Teams side, we configured the webhook url as shown below in the screenshot. On the Dynatrace front, we tried to configure this MS team webhook configuration. When we perform ‘_Send Test Notification’_, we get this error message. We checked this error with the Dynatrace team, they are claiming it could be a firewall issue. Attaching that mail for your reference.

Could you please let me know if we miss any important configuration here? Appreciate your help.

### 

Custom Integration test failed

**Reason:** &nbsp;Invalid HTTP status code  
**HTTP Response Code:** &nbsp;400 - Bad Request  
**HTTP Response Body:**  
Summary or Text is required.

Webhook url - \<EDITED\>

Pls refer the attached screenshot

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [December 16, 2023, 6:32pm UTC](https://community.dynatrace.com/t/issue-with-ms-team-webhook-integration-with-dt/43241/2 "2023-12-16T18:32:24Z")

</div>

[@sjothili](https://community.dynatrace.com/user/69948),

I had to edit your post, as it revealed your Teams link, and as such might have been used by others.

Also took out the screenshots, as they also revealed too much information…

Good part is that the link seemed OK. It it’s giving a 400, please double check that there are no limitations for invoking&nbsp; it, given the Organization referenced.

If you can’t manage to get it working, please put a ticket into Support, they will probably help you better on this one.

---

<div class="post-metadata">

**Author:** ![Theodore\_x86](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/theodore_x86/32/17620_2.png) [@Theodore\_x86](https://community.dynatrace.com/u/Theodore_x86)\
**Post date:** [March 29, 2024, 1:52pm UTC](https://community.dynatrace.com/t/issue-with-ms-team-webhook-integration-with-dt/43241/3 "2024-03-29T13:52:47Z")

</div>

Hello.

“Summary” or “text” variable has to be present in the payload.

Example payload:

{  
“title”:“{ProblemTitle}”,  
“ **text** ”:“{ProblemDetailsHTML}”,  
“themeColor”:“EA4300”  
}

You should be OK after that.

BR

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [September 18, 2024, 5:53am UTC](https://community.dynatrace.com/t/issue-with-ms-team-webhook-integration-with-dt/43241/4 "2024-09-18T05:53:00Z")

</div>

Hi&nbsp;[@sjothili](https://community.dynatrace.com/user/69948)

ensure the custom payload in the attached format, it should work.

 ![Peter_Youssef_0-1726638763339.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/e/1e80060942187e3799d379b1bede51381b6c40da.png)

Thanks
