# M2M can't invite users to organizations

**URL:** <https://community.auth0.com/t/m2m-cant-invite-users-to-organizations/91893>\
**Category:** Get Help\
**Tags:** m2m, organizations, invitations, auth0\
**Created:** [October 6, 2022, 11:25am UTC](https://community.auth0.com/t/m2m-cant-invite-users-to-organizations/91893 "2022-10-06T11:25:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev43](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dev43/32/34278_2.png) [@dev43](https://community.auth0.com/u/dev43)\
**Post date:** [October 6, 2022, 11:25am UTC](https://community.auth0.com/t/m2m-cant-invite-users-to-organizations/91893/1 "2022-10-06T11:25:54Z")

</div>

Hi,

I’m trying to send an invitation with the management API but receive a 400 response saying: “The specified client\_id does not allow organizations.”

Every other API call I tried with this M2M client ID works well (create org, create user, add membership).

This issue has been around for a long time (last post from January [here](https://community.auth0.com/t/the-specified-client-id-does-not-allow-organizations/76069/3))

How is it that this is still not resolved??? And if it is resolved, why is it failing now?

---

<div class="post-metadata">

**Author:** ![adam.housman](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/adam.housman/32/19907_2.png) [@adam.housman](https://community.auth0.com/u/adam.housman)\
**Post date:** [October 6, 2022, 2:31pm UTC](https://community.auth0.com/t/m2m-cant-invite-users-to-organizations/91893/2 "2022-10-06T14:31:29Z")

</div>

@dev43 I think you might be referring to the `client_id` that is required as part of the POST body when using the [POST Invitations Endpoint](https://auth0.com/docs/api/management/v2#!/Organizations/post_invitations). If that is the case, when inviting a user to an organization, you need to specify the client\_id of an interactive (SPA, Regular Web App) application. This would be the application that you are inviting a user to use. Otherwise, if you had multiple applications served from your Auth0 tenant, there would be no way to know which one you want the user to see when accepting the Organization invitation. See: [Invite Organization Members](https://auth0.com/docs/manage-users/organizations/configure-organizations/invite-members)

---

<div class="post-metadata">

**Author:** ![dev43](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dev43/32/34278_2.png) [@dev43](https://community.auth0.com/u/dev43)\
**Post date:** [October 10, 2022, 7:08am UTC](https://community.auth0.com/t/m2m-cant-invite-users-to-organizations/91893/3 "2022-10-10T07:08:34Z")

</div>

Thanks for answering @adam.housman

Could you have a look at my other [inquiry](https://community.auth0.com/t/auth0-multi-tenant-organization-setup-with-enterprise-connections/91913) as it’s blocking our implementation of Auth0 and we did not receive a response yet?

---

<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:** [October 24, 2022, 7:09am UTC](https://community.auth0.com/t/m2m-cant-invite-users-to-organizations/91893/4 "2022-10-24T07:09:00Z")

</div>

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