# IAM Policy statement (Service reference)

**URL:** <https://community.dynatrace.com/t/iam-policy-statement-service-reference/40067>\
**Category:** Open Q&A\
**Tags:** user-management, account-management, data-privacy\
**Created:** [June 5, 2023, 12:33pm UTC](https://community.dynatrace.com/t/iam-policy-statement-service-reference/40067 "2023-06-05T12:33:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RSarafaniuk](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rsarafaniuk/32/14727_2.png) [@RSarafaniuk](https://community.dynatrace.com/u/RSarafaniuk)\
**Post date:** [June 5, 2023, 12:33pm UTC](https://community.dynatrace.com/t/iam-policy-statement-service-reference/40067/1 "2023-06-05T12:33:21Z")

</div>

As I saw in documentation, we can do policies with extensions, but I can’t see from user account hub and can’t set them up. I try to do such rule " ALLOW extensions:definitions:write WHERE extensions:extension-name = “Oracle Database”; " and have no result. Maybe someone tried such policies already and can make an example or give an advice?

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [June 12, 2023, 1:57pm UTC](https://community.dynatrace.com/t/iam-policy-statement-service-reference/40067/2 "2023-06-12T13:57:36Z")

</div>

You’ll want to pull the Policy Schema’s available in your environment. This can be done via the Environment API V2:

 ![ChadTurner_0-1686578192578.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/697e8d53c2e1946de3e6b8eb57ffafc8a7011106.png)

Once you grab the desired Schema you can write it to allow or deny and provide that string into a Policy Schema which is then linked to a group that contains the users in which it will apply to.

---

<div class="post-metadata">

**Author:** ![agravier](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agravier/32/29303_2.png) [@agravier](https://community.dynatrace.com/u/agravier)\
**Post date:** [August 17, 2023, 11:49am UTC](https://community.dynatrace.com/t/iam-policy-statement-service-reference/40067/3 "2023-08-17T11:49:52Z")

</div>

Hello&nbsp;[RSarafaniuk,](https://community.dynatrace.com/user/59292)

I have experimented the same issue for IAM with extensions and you are facing to a known issue on UI.

The workaround is described here :

[https://community.dynatrace.com/t5/Dynatrace-tips/IAM-Policy-Read-and-write-permissions-to-extension…](https://community.dynatrace.com/post/220907#M986)

Regards Aurélien.

---

<div class="post-metadata">

**Author:** ![RSarafaniuk](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/rsarafaniuk/32/14727_2.png) [@RSarafaniuk](https://community.dynatrace.com/u/RSarafaniuk)\
**Post date:** [August 17, 2023, 11:53am UTC](https://community.dynatrace.com/t/iam-policy-statement-service-reference/40067/4 "2023-08-17T11:53:01Z")

</div>

Hello&nbsp;[@AurelienGravier](https://community.dynatrace.com/user/44995)&nbsp;and&nbsp;[@ChadTurner](https://community.dynatrace.com/user/14877),

Thank a lot for your support and given information. I will try to use it.
