# Give all permissions to a M2M app on Auth0 Management API

**URL:** <https://community.auth0.com/t/give-all-permissions-to-a-m2m-app-on-auth0-management-api/92740>\
**Category:** Get Help\
**Tags:** terraform, grants, api, permissions, management-api\
**Created:** [October 19, 2022, 5:52pm UTC](https://community.auth0.com/t/give-all-permissions-to-a-m2m-app-on-auth0-management-api/92740 "2022-10-19T17:52:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rivindu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rivindu/32/36970_2.png) [@rivindu](https://community.auth0.com/u/rivindu)\
**Post date:** [October 19, 2022, 5:52pm UTC](https://community.auth0.com/t/give-all-permissions-to-a-m2m-app-on-auth0-management-api/92740/1 "2022-10-19T17:52:09Z")

</div>

Hi, I want to know if there is a way to give all permissions to a m2m app for management API  
when provisioning a client grant in terraform

```auto
data "auth0_tenant" "yl_test_dev" {}

resource "auth0_client_grant" "m2m_client_grant" {
  client_id = module.app.auth0_m2m_app_client_id
  audience = data.auth0_tenant.yl_test_dev.management_api_identifier
  scope = ["create:users", "update:users", "delete:users"]
}

```

is it possible to give something like “all” to scope list?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [October 21, 2022, 7:29pm UTC](https://community.auth0.com/t/give-all-permissions-to-a-m2m-app-on-auth0-management-api/92740/4 "2022-10-21T19:29:05Z")

</div>

Hey @rivindu welcome to the community!

Unfortunately, there’s no way to include all scopes currently - You’ll need to add them as you currently are.

This is however on our radar, so if you’d like to add a [feedback request](https://community.auth0.com/c/feedback/95) that would be super helpful. Our product team monitors these closely for community engagement.

Cheers!

---

<div class="post-metadata">

**Author:** ![rivindu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rivindu/32/36970_2.png) [@rivindu](https://community.auth0.com/u/rivindu)\
**Post date:** [October 21, 2022, 7:39pm UTC](https://community.auth0.com/t/give-all-permissions-to-a-m2m-app-on-auth0-management-api/92740/5 "2022-10-21T19:39:14Z")

</div>

Hi @tyf thanks for your response! No worries I had no choice but add each manually ( just opened developer tools on the page on which you have to add scopes manually, selected all then confirmed the request and copied all scopes from the request Params 😉)  
Thanks again!

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [October 21, 2022, 9:08pm UTC](https://community.auth0.com/t/give-all-permissions-to-a-m2m-app-on-auth0-management-api/92740/6 "2022-10-21T21:08:08Z")

</div>

No problem, happy to help!

> [@rivindu](#):
>
> just opened developer tools on the page on which you have to add scopes manually, selected all then confirmed the request and copied all scopes from the request Params 😉

Awesome, that works well 😄

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 4, 2022, 9:09pm UTC](https://community.auth0.com/t/give-all-permissions-to-a-m2m-app-on-auth0-management-api/92740/7 "2022-11-04T21:09:09Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
