# What's the authoritative way to determine if an enterprise connection (esp. Azure AD/waad) is actually configured and usable via the Management API?

**URL:** <https://community.auth0.com/t/whats-the-authoritative-way-to-determine-if-an-enterprise-connection-esp-azure-ad-waad-is-actually-configured-and-usable-via-the-management-api/202441>\
**Category:** Get Help\
**Tags:** enterprise-connections, management-api\
**Created:** [August 10, 2026, 2:47pm UTC](https://community.auth0.com/t/whats-the-authoritative-way-to-determine-if-an-enterprise-connection-esp-azure-ad-waad-is-actually-configured-and-usable-via-the-management-api/202441 "2026-08-10T14:47:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ext.ramachandra.u.r](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ext.ramachandra.u.r/32/74913_2.png) [@ext.ramachandra.u.r](https://community.auth0.com/u/ext.ramachandra.u.r)\
**Post date:** [August 10, 2026, 2:47pm UTC](https://community.auth0.com/t/whats-the-authoritative-way-to-determine-if-an-enterprise-connection-esp-azure-ad-waad-is-actually-configured-and-usable-via-the-management-api/202441/1 "2026-08-10T14:47:14Z")

</div>

_We use `GET /api/v2/connections` to check the status of enterprise SSO connections (SAML/OIDC/Okta/Azure AD) created via the Self-Service SSO Profile flow. We’ve observed that the top-level `enabled` field on the connection object doesn’t reliably reflect whether the connection is actually working for `waad` (Azure AD/Entra) connections — it can report `enabled: false` even when the connection is live and users are authenticating through it._

_As a workaround, we currently infer “configured” by checking whether `options.domain_aliases` (or similar domain fields) are set alongside a non-null `options` object. This is a heuristic, not a verified check._

_Questions:_

1. _Is `enabled` on the connection object expected to reliably reflect operational status for enterprise/`waad` connections, or is it scoped to something else (e.g. tenant-wide default vs. per-client assignment)?_
2. _Given the recent deprecation of `enabled_clients` on `GET/PATCH /connections` (EOL July 13, 2026) in favor of `GET /connections/{id}/clients`, is there a new recommended field or endpoint combination to determine “is this connection actually usable by at least one application” without inferring from domain aliases?_
3. _Is there a supported way to verify a connection is fully configured (e.g. a test-connection or health endpoint), rather than inferring from metadata presence?_

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [August 10, 2026, 9:35pm UTC](https://community.auth0.com/t/whats-the-authoritative-way-to-determine-if-an-enterprise-connection-esp-azure-ad-waad-is-actually-configured-and-usable-via-the-management-api/202441/3 "2026-08-10T21:35:50Z")

</div>

Hi @ext.ramachandra.u.r

Welcome to the Auth0 Community!

I understand that you are inquiring about a way to distinguish if an Enterprise Connection is configured, enabled and reachable via the [Auth0 Management API](https://auth0.com/docs/api/management/v2).

### Official Solution

On the Auth0 Connection object, the top-level `enabled` field **does not reflect whether a connection is functionally active, nor does it mean it is globally enabled for the tenant**.

The `enabled` tag was designed to toggle the connection state _internally_ (for example, allowing or disallowing Auth0 to load the connection configurations into memory during authorization requests). For enterprise connections like `waad` (Azure AD/Entra), a connection can easily show `enabled: false` at the top level while still successfully routing authentication traffic if it has been mapped directly to specific clients (applications).

Because the `enabled` field’s operational meaning is highly context-dependent and often out of sync with actual client usage, **relying on it to verify whether a connection is “live” or “ready to use” is not recommended.**

With the End-of-Life of the `enabled_clients` field on the main connection endpoints (which took effect on **July 13, 2026** ), you should no longer parse client assignments from the `GET /api/v2/connections` payload.

To determine if a connection is actually usable by at least one application, the recommended approach is to call the dedicated sub-endpoint:

- **Endpoint:** `GET /api/v2/connections/{id}/clients`

This returns an array of client objects enabled for this specific connection. If the returned array has a length of **1 or more** , the connection is actively mapped and usable by an application.

Also, **there is no dedicated Management API endpoint (e.g.,** `POST /api/v2/connections/{id}/test` **or similar) to programmatically check if an enterprise connection is fully configured and functional**. This is an intentional design boundary in the OAuth2/SAML specifications. Since Auth0 acts as the Service Provider (SP), it cannot independently verify that an external Identity Provider (like Azure AD or Okta) is fully configured, reachable, or validating signatures without executing a **live cryptographic handshake** (which requires user browser redirection).

To programmatically confirm if a newly [configured `waad`](https://auth0.com/docs/authenticate/identity-providers/enterprise-identity-providers/azure-active-directory/v2) or SAML connection is operational, implement this workflow:

1. Create a dedicated, non-production “Connection Verifier” Application (Client ID) in your tenant.

2. Use the modern `POST /api/v2/connections/{id}/clients` endpoint to enable the newly created enterprise connection _only_ for your Test Application.

3. Have your integration programmatically [initiate an `/authorize` request](https://auth0.com/docs/authenticate/login/configure-silent-authentication) targeting the connection specifically:

4. If the challenge fails with `login_required` or `consent_required`, the connection routing is **working perfectly** (it successfully contacted the IdP, which asked for interaction).

5. Once verified, PATCH the connection to enable your production Client IDs.

Kind Regards,  
Nik

---

<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:** [August 12, 2026, 9:36pm UTC](https://community.auth0.com/t/whats-the-authoritative-way-to-determine-if-an-enterprise-connection-esp-azure-ad-waad-is-actually-configured-and-usable-via-the-management-api/202441/4 "2026-08-12T21:36:11Z")

</div>

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