# Auth0-authorization-extension doesn't allow to create role for machine2machine app

**URL:** <https://community.auth0.com/t/auth0-authorization-extension-doesnt-allow-to-create-role-for-machine2machine-app/17773>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [November 9, 2018, 7:13pm UTC](https://community.auth0.com/t/auth0-authorization-extension-doesnt-allow-to-create-role-for-machine2machine-app/17773 "2018-11-09T19:13:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaoism](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chaoism/32/8483_2.png) [@chaoism](https://community.auth0.com/u/chaoism)\
**Post date:** [November 9, 2018, 7:13pm UTC](https://community.auth0.com/t/auth0-authorization-extension-doesnt-allow-to-create-role-for-machine2machine-app/17773/1 "2018-11-09T19:13:17Z")

</div>

I’m not sure what changed, but we used to be able to create role in the extension for machine to machine app.

Now when I tried to do it, first I couldn’t find the app in the list of apps. When I choose the blank option, I got `Oh snap! An error occured while saving the role: "applicationId" is not allowed to be empty` error.

How do I get around with it. Thanks.

---

<div class="post-metadata">

**Author:** ![nicolas\_sabena](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicolas_sabena/32/6064_2.png) [@nicolas\_sabena](https://community.auth0.com/u/nicolas_sabena)\
**Post date:** [November 10, 2018, 11:49am UTC](https://community.auth0.com/t/auth0-authorization-extension-doesnt-allow-to-create-role-for-machine2machine-app/17773/2 "2018-11-10T11:49:48Z")

</div>

Hi @chaoism

Not sure what could have changed on your side, but the extension explicitly filters out machine-to-machine applications, and it seems to have been doing so for over two years, according to this [GH commit](https://github.com/auth0/auth0-authorization-extension/commit/0c641bfd534ff9d81d686e4b436183d5916762d7).

The extension is designed to run a rule after a user authenticates. Rules don’t run with the client credentials grant flow used for machine-to-machine applications, so you wouldn’t really got much out of it.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [August 28, 2019, 11:22am UTC](https://community.auth0.com/t/auth0-authorization-extension-doesnt-allow-to-create-role-for-machine2machine-app/17773/3 "2019-08-28T11:22:07Z")

</div>


