# Do not enable m2m client for configured connections

**URL:** <https://community.auth0.com/t/do-not-enable-m2m-client-for-configured-connections/103393>\
**Category:** Get Help\
**Tags:** clients, management-api\
**Created:** [March 27, 2023, 12:10pm UTC](https://community.auth0.com/t/do-not-enable-m2m-client-for-configured-connections/103393 "2023-03-27T12:10:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dominik.vogt](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dominik.vogt/32/45800_2.png) [@dominik.vogt](https://community.auth0.com/u/dominik.vogt)\
**Post date:** [March 27, 2023, 12:10pm UTC](https://community.auth0.com/t/do-not-enable-m2m-client-for-configured-connections/103393/1 "2023-03-27T12:10:11Z")

</div>

Hi there,

I am creating a m2m client via REST API, using the `POST /api/v2/clients` endpoint.

I also have two auth0 connections configured (database connection and Azure AD enterprise connection).

After my m2m client gets created successfully, the client gets enabled for all my auth0 connections.

Is there a way to prevent my client to be enabled for those connections? I don’t need this behavior and I don’t want it because as a result I receive diffs in my terraform execution plan.

Thanks for your help 🙂

---

<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:** [March 28, 2023, 12:34am UTC](https://community.auth0.com/t/do-not-enable-m2m-client-for-configured-connections/103393/3 "2023-03-28T00:34:05Z")

</div>

Hello there @dominik.vogt welcome to the community!

> [@dominik.vogt](#):
>
> Is there a way to prevent my client to be enabled for those connections? I don’t need this behavior and I don’t want it because as a result I receive diffs in my terraform execution plan.

You can create the client (all clients) without enabling it on connections by doing the following:

In the dashboard, Go to Manage → Settings → Advanced → Settings → Enable Application Connections. Toggling this setting to be off should get you what you’re looking for.

Hope this helps!

---

<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:** [April 11, 2023, 12:35am UTC](https://community.auth0.com/t/do-not-enable-m2m-client-for-configured-connections/103393/4 "2023-04-11T00:35:01Z")

</div>

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