# I am trying to add a custom scope "xyz" in my M2M application using Auth0 Actions and failing to do so

**URL:** <https://community.auth0.com/t/i-am-trying-to-add-a-custom-scope-xyz-in-my-m2m-application-using-auth0-actions-and-failing-to-do-so/132857>\
**Category:** Get Help\
**Tags:** actions-management-api, management-api\
**Created:** [April 26, 2024, 9:24am UTC](https://community.auth0.com/t/i-am-trying-to-add-a-custom-scope-xyz-in-my-m2m-application-using-auth0-actions-and-failing-to-do-so/132857 "2024-04-26T09:24:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yaxaner700](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@yaxaner700](https://community.auth0.com/u/yaxaner700)\
**Post date:** [April 26, 2024, 9:24am UTC](https://community.auth0.com/t/i-am-trying-to-add-a-custom-scope-xyz-in-my-m2m-application-using-auth0-actions-and-failing-to-do-so/132857/1 "2024-04-26T09:24:15Z")

</div>

i am using Auth0 management api for the same … can any of you help me on this?

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [May 20, 2025, 9:04pm UTC](https://community.auth0.com/t/i-am-trying-to-add-a-custom-scope-xyz-in-my-m2m-application-using-auth0-actions-and-failing-to-do-so/132857/4 "2025-05-20T21:04:33Z")

</div>

Hi there,

Thank you for reaching out!

We are trying to reply and provide some information to older posts, in case others come across the same situation and it can be helpful to them as well.

I would recommend looking through our documentation on the [Machine to Machine Triggers](https://auth0.com/docs/customize/actions/explore-triggers/machine-to-machine-trigger#add-custom-claims-to-the-access-token) for Actions and [Actions Triggers: credentials-exchange - Event Object](https://auth0.com/docs/customize/actions/explore-triggers/machine-to-machine-trigger/credentials-exchange-event-object) which should offer the capability that you are looking for in this case.

Hope this helped!  
Gerald

---

<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:** [June 3, 2025, 9:04pm UTC](https://community.auth0.com/t/i-am-trying-to-add-a-custom-scope-xyz-in-my-m2m-application-using-auth0-actions-and-failing-to-do-so/132857/5 "2025-06-03T21:04:54Z")

</div>

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