# Find all rules related an IIS app pool entity

**URL:** <https://community.dynatrace.com/t/find-all-rules-related-an-iis-app-pool-entity/50979>\
**Category:** Open Q&A\
**Tags:** management-zones, iis, settings\
**Created:** [March 31, 2025, 7:09pm UTC](https://community.dynatrace.com/t/find-all-rules-related-an-iis-app-pool-entity/50979 "2025-03-31T19:09:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dynatrace\_curio](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@dynatrace\_curio](https://community.dynatrace.com/u/dynatrace_curio)\
**Post date:** [March 31, 2025, 7:09pm UTC](https://community.dynatrace.com/t/find-all-rules-related-an-iis-app-pool-entity/50979/1 "2025-03-31T19:09:41Z")

</div>

Hello guys,

I’m trying to remove from a management zone an entity associated to an IIS app pool. But several rules are associated to this entity like custom services, web applications. etc..&nbsp; I need to check manually each rule and see if this rule used this entity and remove it. But this operation is long.

Does it exist a solution to find all rules related to an entity?

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [March 31, 2025, 7:55pm UTC](https://community.dynatrace.com/t/find-all-rules-related-an-iis-app-pool-entity/50979/2 "2025-03-31T19:55:37Z")

</div>

Hello [@dynatrace\_curio](https://community.dynatrace.com/user/87268),&nbsp;as you indicated there is not an easy way to see all the rules that are affecting a same entity or if you have a redundant rule.

My recommendation is to work with automatic tags and then identify which tag your MZ rule uses. With this framework, it’s easy to identify which tag is involved in the rule and then isolate the rule.

Example:

 ![DanielS_0-1743450905902.png](https://global.discourse-cdn.com/dynatrace/original/2X/5/5a6754d2162f21f6c85b8e50c67373d3512d60a2.png)
