# Connecting Dynatrace to Azure monitor - Communication error

**URL:** <https://community.dynatrace.com/t/connecting-dynatrace-to-azure-monitor-communication-error/34154>\
**Category:** Cloud platforms\
**Tags:** azure\
**Created:** [February 15, 2022, 5:41pm UTC](https://community.dynatrace.com/t/connecting-dynatrace-to-azure-monitor-communication-error/34154 "2022-02-15T17:41:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sona](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@Sona](https://community.dynatrace.com/u/Sona)\
**Post date:** [February 15, 2022, 5:41pm UTC](https://community.dynatrace.com/t/connecting-dynatrace-to-azure-monitor-communication-error/34154/1 "2022-02-15T17:41:47Z")

</div>

Hi Team,

While connecting the Dynatrace to Azure monitor, I am getting the error like communication error. Although I am putting the right value for client ID, tenant ID and secret key.

Please provide your suggestion on this issue.

---

<div class="post-metadata">

**Author:** ![rodrigo\_alvare1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rodrigo_alvare1/32/1927_2.png) [@rodrigo\_alvare1](https://community.dynatrace.com/u/rodrigo_alvare1)\
**Post date:** [February 15, 2022, 6:58pm UTC](https://community.dynatrace.com/t/connecting-dynatrace-to-azure-monitor-communication-error/34154/2 "2022-02-15T18:58:48Z")

</div>

Hi Sona,

Do you have an ActiveGate(AG) deployed on your system?  
Is it running on Azure?  
You could ssh into the ActiveGate and verify that it can reach to the Azure environment (curl/ping…)  
Most of the times those errors are related to some missing firewall rules enabled between the AG and Azure  
You could also check the AG logs in /var/log/dynatrace/gateway looking for some error/communication problem logs

Regards

---

<div class="post-metadata">

**Author:** ![Sona](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@Sona](https://community.dynatrace.com/u/Sona)\
**Post date:** [February 16, 2022, 6:42am UTC](https://community.dynatrace.com/t/connecting-dynatrace-to-azure-monitor-communication-error/34154/3 "2022-02-16T06:42:52Z")

</div>

Hi r[odrigo\_alvare1,](https://community.dynatrace.com/user/22109)

Thank you for your response. I have already installed the ActiveGate in my laptop and the version is up to date.

Could you please elaborate the above steps which you have mentioned in the above.

---

<div class="post-metadata">

**Author:** ![rodrigo\_alvare1](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rodrigo_alvare1/32/1927_2.png) [@rodrigo\_alvare1](https://community.dynatrace.com/u/rodrigo_alvare1)\
**Post date:** [February 18, 2022, 8:39pm UTC](https://community.dynatrace.com/t/connecting-dynatrace-to-azure-monitor-communication-error/34154/4 "2022-02-18T20:39:03Z")

</div>

Hi Sona,  
The problem here is whit the communication, so you need to check if there is any communication problem from the ActiveGate to Azure. We recommend to have the ActiveGate deployed on the cloudprovided to ensure no problem with the connectivity and avoid latency/timeouts. So in this case it would be better if you can install the ActiveGate on the Azure environment.

Verify that the ActiveGate shows also in your DynatraceUI (so verify that it is up and running and reporting to Dynatrace)

Check the logs to see any communication issue (in windows&nbsp;%PROGRAMDATA%\dynatrace\gateway\log ).

Also, if you need to configure a prox to reach to azure you can configure it&nbsp; in the custom.properties&nbsp; file.&nbsp;[Proxy for ActiveGate — Dynatrace Docs](https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-activegate/configuration/set-up-proxy-authentication-for-activegate).

Regards

---

<div class="post-metadata">

**Author:** ![kunal\_vaidya](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kunal_vaidya/32/12921_2.png) [@kunal\_vaidya](https://community.dynatrace.com/u/kunal_vaidya)\
**Post date:** [November 26, 2025, 12:55am UTC](https://community.dynatrace.com/t/connecting-dynatrace-to-azure-monitor-communication-error/34154/5 "2025-11-26T00:55:40Z")

</div>

Also advisable to check if the service principal has a “Reader” role in Azure. (I had a similar communication issue, which was fixed after “reader” role was assigned to Service Principal)
