# Dynatrace Managed. Query multiple environments for alerts

**URL:** <https://community.dynatrace.com/t/dynatrace-managed-query-multiple-environments-for-alerts/19725>\
**Category:** Alerting\
**Tags:** dynatrace-managed, problems-classic\
**Created:** [July 1, 2020, 9:13am UTC](https://community.dynatrace.com/t/dynatrace-managed-query-multiple-environments-for-alerts/19725 "2020-07-01T09:13:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Radoslaw\_Szulgo](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radoslaw_szulgo/32/1977_2.png) [@Radoslaw\_Szulgo](https://community.dynatrace.com/u/Radoslaw_Szulgo)\
**Post date:** [July 1, 2020, 9:46am UTC](https://community.dynatrace.com/t/dynatrace-managed-query-multiple-environments-for-alerts/19725/3 "2020-07-01T09:46:57Z")

</div>

Hi Irakli - take a look at my example here that I show how I update Frequent Issues Detection settings for many environments using Ansible:

> **[providing-dynatrace-managed-as-a-service/update-existing-environment at master ·...](https://github.com/rszulgo/providing-dynatrace-managed-as-a-service/tree/master/update-existing-environment)**
>
> master/update-existing-environment

You cannot do that with a single call, but that’s not bad when you automate that - you can call single… script.

---

_[View the full topic](https://community.dynatrace.com/t/dynatrace-managed-query-multiple-environments-for-alerts/19725)._
