# Extracting Management Zone IDs from Dynatrace SaaS Tenant

**URL:** <https://community.dynatrace.com/t/extracting-management-zone-ids-from-dynatrace-saas-tenant/50516>\
**Category:** Dynatrace API\
**Tags:** dql, management-zones, dynatrace-managed, dynatrace-api\
**Created:** [February 28, 2025, 6:10pm UTC](https://community.dynatrace.com/t/extracting-management-zone-ids-from-dynatrace-saas-tenant/50516 "2025-02-28T18:10:36Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Sajarra](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Sajarra](https://community.dynatrace.com/u/Sajarra)\
**Post date:** [March 7, 2025, 2:29pm UTC](https://community.dynatrace.com/t/extracting-management-zone-ids-from-dynatrace-saas-tenant/50516/9 "2025-03-07T14:29:08Z")

</div>

_Yes, I can extract the problem events with ‘Tags’. Looks like we don’t have any options to extract the mzIDs from Dynatrace. Working with Dynatrace consultant for our team and he is checking with Dynatrace Dev (API team). Thank you all your supports._

_fetch dt.davis.problems_  
_| fieldsAdd entity.type, timestamp, host.name, display\_id, affected\_entity\_ids, affected\_entity\_types, Description_  
_| filter matchesValue(entity\_tags,“AppCode:XXX”)_  
_| sort event.status asc_

---

_[View the full topic](https://community.dynatrace.com/t/extracting-management-zone-ids-from-dynatrace-saas-tenant/50516)._
