# Dynatrace Managed - MS Teams Integration Error

**URL:** <https://community.dynatrace.com/t/dynatrace-managed-ms-teams-integration-error/37411>\
**Category:** Alerting\
**Tags:** problem-notification, problems-classic\
**Created:** [November 22, 2022, 11:03am UTC](https://community.dynatrace.com/t/dynatrace-managed-ms-teams-integration-error/37411 "2022-11-22T11:03:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DynaQ](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DynaQ](https://community.dynatrace.com/u/DynaQ)\
**Post date:** [November 22, 2022, 11:03am UTC](https://community.dynatrace.com/t/dynatrace-managed-ms-teams-integration-error/37411/1 "2022-11-22T11:03:27Z")

</div>

Hi,

We are getting an error when setting up the MS Teams integration for notifications. Sending a test notification shows back the below error (attached as well)

“Custom Integration test failed (Reason: could not connect to the specified URL)”

The Webhook used has been copied from MS Teams (generated as per documentation). Is the issue related to ports, authentication, others?

Thanks

 ![MSTeams_IntegrationError.png](https://global.discourse-cdn.com/dynatrace/original/2X/b/bda734d1eb3f6dcf1b7970a53165802e1d5e2072.png)

---

<div class="post-metadata">

**Author:** ![mark\_bley](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mark_bley/32/20954_2.png) [@mark\_bley](https://community.dynatrace.com/u/mark_bley)\
**Post date:** [November 24, 2022, 5:00pm UTC](https://community.dynatrace.com/t/dynatrace-managed-ms-teams-integration-error/37411/2 "2022-11-24T17:00:04Z")

</div>

Hi [@DynaQ](https://community.dynatrace.com/user/56598) ,

could be very well because of a firewall issue.

Have tried getting to the webhook from one of the managed nodes ?

You could try [this](https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using?tabs=cURL#send-messages-using-curl-and-powershell) and see if it works

---

<div class="post-metadata">

**Author:** ![pahofmann](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pahofmann/32/17076_2.png) [@pahofmann](https://community.dynatrace.com/u/pahofmann)\
**Post date:** [November 25, 2022, 9:18am UTC](https://community.dynatrace.com/t/dynatrace-managed-ms-teams-integration-error/37411/3 "2022-11-25T09:18:56Z")

</div>

Like [@mark\_bley](https://community.dynatrace.com/user/13072) mentioned, most likely a firewall issue. You can check the dynatrace server log for more details.

---

<div class="post-metadata">

**Author:** ![Robert24](https://avatars.discourse-cdn.com/v4/letter/r/91b2a8/32.png) [@Robert24](https://community.dynatrace.com/u/Robert24)\
**Post date:** [December 19, 2022, 1:17am UTC](https://community.dynatrace.com/t/dynatrace-managed-ms-teams-integration-error/37411/4 "2022-12-19T01:17:15Z")

</div>

Hi,

We also have plan to enable this features. May we know what firewall/white list is needed to allow?

How these two environment communicate? Dynatrace is Managed (On-prem) while MS teams is on Azure (thru internet).

Thank you

---

<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, 6:03am UTC](https://community.dynatrace.com/t/dynatrace-managed-ms-teams-integration-error/37411/5 "2024-09-18T06:03:47Z")

</div>

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

As simple as possible:

1. **Connectivity** issue: validate proper communication is conducted between Dynatrace cluster nodes and the target endpoint, there is no blocking between them for example communication is going through proxy which is not properly configured, validate with network and Firewall teams the seamless traffic between these end points.
2. Enable the below options

![Peter_Youssef_0-1726639316958.png](https://global.discourse-cdn.com/dynatrace/original/3X/1/a/1a6bab376a922296a5f459cd49599323eee1eab3.png)

 ![Peter_Youssef_1-1726639353383.png](https://global.discourse-cdn.com/dynatrace/original/2X/4/459950eee68c3bc18c022a22af3943869881f9eb.png)

Validate if the Oauth is required or not

![Peter_Youssef_2-1726639391086.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/f/bffdd28be5b7a33a7b71100065c1a1052d39a92a.png)

Thanks
