ADR-0009 — Microsoft Entra ID as the identity provider for the ION Platform
Historical governance note: V2 ADR1 recorded the tenant-topology decision as
Proposed. Later references corroborate the dual-directory posture, so this canonical record is active from V2 while preserving the originalsource-statusseparately.
Forces / Drivers
- Requirement / Constraint:
../context/requirements.md#nfr-3-security— NFR-3 Security: authentication, authorisation, encryption, RBAC.../context/constraints.md#tc-3-security-mandate— TC-3 Security mandate: identity-first, no shared secrets, credential-less service-to-service where possible.../context/constraints.md#bc-3-compliance-and-regulatory— BC-3 GDPR / HIPAA / PCI DSS: attributable identity per action for audit; per-tenant isolation.../context/constraints.md#bc-1-data-residency-switzerland— BC-1 Data residency: identity data must respect region.../context/integration-boundaries.md— Microsoft Sentinel, Microsoft Defender XDR, Microsoft Graph API, Microsoft Teams, Azure Lighthouse — every load-bearing external integration authenticates through Entra ID.
- Principle(s) embodied:
§ 12 Managed Identity,§ 13 BFF pattern,§ 18 Data residency & compliance,§ 21 Azure-native managed services first. - WAF pillar optimized:
security(primary);operational-excellence,reliability(secondary).
Context
ION is a Microsoft-first MXDR platform. Every load-bearing external integration is Microsoft-owned and Entra-native:
- Microsoft Sentinel (incident ingestion + write-back) — authenticates callers through Entra ID; delegated multi-tenant access to customer subscriptions runs via Azure Lighthouse (which requires Entra).
- Microsoft Defender XDR (Defender Workbench / Alya) — Graph / MDE workload APIs use Entra tokens. V2 documented Access Packages for human portal access; V3 adopts Tenant Governance/GDAP remote groups plus customer-assigned URBAC under ADR-0033.
- Microsoft Teams (customer collaboration) — B2B Direct Connect for shared channels between Ontinue’s tenant and each customer’s tenant is an Entra-only feature; no third-party IDM offers a comparable primitive.
- ServiceNow (ticketing, via webhook + REST callback) — authenticates callers to ION using Entra tokens issued to a ServiceNow-side app registration.
- Azure Graph API — Entra tokens only.
- All internal Azure resources — Cosmos DB, Service Bus, Key Vault, Storage, APIM, App Configuration, Log Analytics — authorise callers via Managed Identity + Entra data-plane RBAC (§ 12).
The IDM question therefore is not “which is best on features” — it is “what is the substrate on which every downstream identity primitive already resides?” Adopting any non-Entra IDM would require translating (federating, bridging, or replicating) between that IDM and Entra at every integration boundary — and the boundaries are not lightweight webhook auth, they are cross-tenant delegated access to customer environments where the customer’s own identity provider is also Entra.
Three secondary considerations shape the deployment posture:
- ION serves three distinct user populations with different trust boundaries. Ontinue employees (analysts, advisors, engineering) live in one directory; customer users (invited into Teams shared channels) live in the customer’s directory and are federated in; customer Microsoft 365 / Defender 365 tenants that Ontinue manages on the customer’s behalf live in a separate directory Ontinue owns but keeps segregated from the internal directory (principle-of-least-privilege on Ontinue’s own privileged operations).
- App-registration blast radius. Combining Ontinue’s internal Microsoft 365 tenant (Office, Teams, HR, Payroll, DevOps) with the Ontinue-managed customer-tenant operations directory would put customer-managed-Defender admin identities in the same directory as HR — a policy risk and a compliance-review magnet.
- The choice was already made — and correctly — for Tiberium. The V2 platform (which merged Tiberium and Voyager) inherited a dual-directory posture that had already been validated in Tiberium. Preserving it removed migration risk.
Microsoft rebranded Azure Active Directory to Microsoft Entra ID in mid-2023. Historical references (including the V2 ADR1 dated 2023-01-16) use “Azure AD”; V3 uses “Entra ID”. This ADR treats them as the same product.
Decision
ION adopts Microsoft Entra ID as the identity provider for the platform, covering:
- User authentication for every ION frontend — customer portal (Veritas / Teams shared channels), Alya defender workbench, cyber-advisor portal.
- Service-to-service authentication for every internal service — via Managed Identity (§ 12), which is an Entra construct. No connection strings, no SAS, no shared secrets on the internal path.
- External-integration authentication for inbound callers (ServiceNow → Ticketing API, Microsoft Graph → Phoenix webhook) — via Entra app registrations or Managed Identity, per the caller.
- Delegated cross-tenant access to customer resources — via Azure Lighthouse where applicable for Sentinel/Azure delegation; scoped multi-tenant applications for unattended Graph/MDE access; and, in V3, Tenant Governance/GDAP remote groups plus customer-assigned URBAC for supported human Defender XDR access. V2’s Access Package mechanism remains the production path for customers outside the GDAP rollout cohort until GDAP receives production approval, then retires cohort by cohort (ADR-0033); it may also optionally govern upstream Ontinue group membership.
- External-user collaboration — via Entra B2B Direct Connect (for Teams shared channels) and Entra B2B Collaboration (for guest access where shared channels are not applicable). See ADR-0012 for the collaboration-substrate decision.
Tenant topology — dual-tenant, purpose-separated (inherited from V2 ADR1, retained for V3):
| Tenant | Purpose | Contains |
|---|---|---|
ontinue.com (Ontinue’s primary corporate tenant) | Ontinue internal services + ION platform identity plane + Sentinel-side integration | Ontinue employees (analysts, advisors, engineering); Ontinue internal M365 (Teams, Payroll, HR, DevOps); ION platform Managed Identities; ION platform app registrations for user-facing portals and Sentinel access. |
ontinuemssp.com (Ontinue MSSP directory) | Managed-defender operations for customer Microsoft 365 / Defender 365 tenants | Privileged accounts used by Ontinue to operate customer Defender XDR / M365 environments on the customer’s behalf. Segregated from ontinue.com so that customer-side privileged operations do not share a blast radius with Ontinue’s internal corporate identity plane. |
Rationale for the split — see V2 ADR1 ../references/Architecture V2- ADR1 - Azure AD Tenant Topology.md: it enables independent RBAC and lifecycle for two functionally different populations (Ontinue employees vs. Ontinue-operating-as-managed-defender-admin), avoids concentrating privilege in one directory, and matches the pattern already validated in Tiberium.
Consequences of the dual-tenant topology are inherited from V2 unchanged:
- Cyber Defenders and other operators may need to authenticate to both directories in the course of a shift; SSO across the two is not seamless.
- IT operates two directories rather than one.
- The physical primitive that ION relies on for cross-tenant collaboration (Entra B2B Direct Connect between Ontinue’s tenant and each customer’s tenant) is unaffected by whether the internal split is one directory or two.
Deployment discipline (codified in V3 references):
- Certificate credentials preferred over client secrets for app registrations (
../references/Identity Management- Azure AD Implementation.md§ App-registration best practices,../references/Identity Management- Certificates.md). - Separate app registrations per environment (
apa/bta/gma/prd) — no shared prd credentials. - Least-privilege scopes on every app registration — audited periodically; unused scopes revoked.
- Separate app registrations for sign-in apps vs. API-exposing apps (unless tightly coupled).
- PKCE flow for public clients (SPAs, mobile); Authorisation Code flow with certificate credentials for confidential clients; Client Credentials flow for machine-to-machine (with certificate credentials).
Explicitly out of scope for this ADR:
- How ION structures its multi-tenant apps for customer Sentinel/Defender access — see ADR-0010 (splitting access-permission apps into read-all / write-all / graph-write / mde-write).
- How Azure RBAC roles are assigned to Managed Identities on data-plane resources — see ADR-0011.
- How customer collaboration surfaces (Teams shared channels, portal via Teams SSO) are structured on top of B2B Direct Connect — see ADR-0012.
- How ION services authenticate to each other and to Azure resources at runtime — see ADR-0013 (this is the Managed Identity ADR, which realises § 12).
Alternatives considered
-
Option A — Third-party IDM (Okta, Auth0, Ping Identity, AWS Cognito) as the platform IDM. Rejected on two grounds; the first is decisive, the second reinforces it.
1. Ecosystem-integration incompatibility (decisive). ION is a Microsoft-first MXDR platform. None of these providers can issue the identity primitives ION’s integrations actually require — Azure Lighthouse cross-tenant delegation, GDAP, Managed Identity, B2B Direct Connect, Graph API tokens, Sentinel / Defender / Teams tokens. These are not “features Entra has more of” — they are the only mechanisms that exist for the Microsoft integration surface ION runs on. A third-party IDM cannot federate its way to issuing them; Entra is the sole issuer. Even if a third-party IDM sat in front of every user login, every ION service would still need to acquire Entra tokens to reach Sentinel, Defender, Teams, Graph, and every Azure data-plane resource — which means running Entra anyway, in addition to the third-party IDM. The third-party IDM becomes a second substrate on top of a mandatory Entra substrate, not a replacement for it. This is disqualifying for an MXDR platform whose external surface is Microsoft-owned.
2. § 21 Azure-native managed services first (reinforcing). Even if the ecosystem-integration argument did not exist, § 21 alone would reject Okta / Auth0 / Ping as third-party SaaS and Cognito as a different-cloud service — all outside the Azure-native PaaS default. But this argument is secondary here because ground 1 already forecloses the choice regardless of § 21.
-
Option B — Federated approach: Entra ID for services + a third-party IDM for the customer-facing portal. Rejected. The customer-facing portal serves users who authenticate through their own Entra tenant (customer M365 users invited into a Teams shared channel via B2B Direct Connect). A third-party IDM in front of the portal would add a federation hop between two Entra tenants — pure complexity with no security or user-experience gain. This shape is only meaningful when the target user population is not already Entra-resident; ION’s is.
-
Option C — Single-tenant topology (one Entra directory for both Ontinue internal use and customer-Defender managed operations). Rejected. Puts high-privilege customer-Defender admin identities in the same blast radius as HR, Payroll, and internal M365; violates principle of least privilege; concentrates compliance-review surface; creates a policy risk for security incidents. The V2 dual-tenant posture was validated in Tiberium before V2 and remains the right shape.
-
Option D — Custom-built IDM (in-house OAuth 2.0 authorisation server). Rejected on § 21 grounds and on operational grounds: identity is a domain where “roll-your-own” is a well-documented anti-pattern (token handling, key rotation, MFA, conditional-access, threat detection — all of it is a decade of Microsoft-team engineering that no MXDR platform-team should attempt to replicate).
-
Option E — Azure AD B2C as the customer-facing directory. Rejected as the primary IDM for ION’s customer surface. B2C is designed for consumer-facing scenarios where the end user is not already in an organisational directory. ION’s customers are in organisational directories (their own Entra tenant); B2C would add sign-up / attribute-collection machinery irrelevant to the MSSP use case. Kept as a future consideration only if ION ever serves a non-organisational user population.
-
Option F — Retain the existing IDM without upgrading to Entra terminology / features. Not really an alternative — Entra ID is Azure AD post-rebrand. Feature adoption (Managed Identity, B2B Direct Connect, GDAP, Conditional Access, workload identity federation) evolves under the Entra brand; ION follows it.
Rationale
Entra ID wins on three axes that are decisive independently, and jointly leave no realistic alternative:
- It is the substrate of every load-bearing integration ION depends on. Sentinel, Defender XDR, Graph, Teams, Lighthouse, GDAP, Managed Identity are all Entra primitives. Choosing any other IDM makes Entra an additional substrate rather than a replacement — strictly worse than choosing Entra alone.
- § 21 Azure-native managed services first. Entra is the Azure-native identity substrate. § 21’s operational-leverage rationale applies with unusual force to identity: identity outages and identity misconfigurations are among the highest-severity incident classes; running a second identity plane multiplies the surface where those can happen.
- Managed Identity depends on Entra. § 12’s “no secrets, no connection strings, no SAS” posture cannot be realised without Entra as the token issuer for Azure data-plane RBAC. Any non-Entra choice forces the platform back into secret-management for internal traffic, defeating one of the security-posture wins of V3.
The dual-tenant topology (ontinue.com + ontinuemssp.com) is a deployment sub-decision within the Entra choice. It wins over single-tenant because it separates internal-employee identity (medium blast radius, corporate use cases) from customer-Defender managed-admin identity (high blast radius, cross-customer privileged operations). The user-experience cost — operators authenticating to two directories in a shift — is a real trade-off, and it is accepted because the alternative concentrates privilege where it should not be concentrated.
Consequences
Positive
- Every ION integration authenticates through the same identity plane — Sentinel, Defender, Teams, Graph, ServiceNow (inbound), Managed Identity to Azure resources, portal sign-in. One SDK surface, one token model, one auditing story.
- Managed Identity eliminates secrets on the internal path. No connection strings, no SAS tokens for data-plane access to Cosmos, Service Bus, Key Vault, Storage, APIM. Secret sprawl reduces by construction.
- Entra-native cross-tenant mechanisms avoid customer-side credential sharing — V2 used Lighthouse plus Access Packages; V3 uses Tenant Governance/GDAP remote groups and customer-assigned URBAC for supported human Defender XDR access while retaining separate workload mechanisms.
- Entra Conditional Access, Identity Protection, and PIM apply platform-wide — MFA enforcement, sign-in risk detection, just-in-time elevation are available on the same substrate that already carries every ION identity.
- B2B Direct Connect delivers frictionless customer collaboration — Teams shared channels between Ontinue and customer tenants without provisioning guest identities per user.
- Compliance-audit surface is narrower. One IDM to review for GDPR / HIPAA / PCI DSS controls rather than two.
- Certificate credentials replace client secrets at the app-registration layer — reduces rotation friction and secret-exposure risk.
Negative
- Vendor concentration on Microsoft’s identity plane. ION is deeply coupled to Entra’s roadmap, pricing, service availability, and feature deprecation cadence. Mitigated at the code layer by § 20 (narrow adapters), but the substrate dependency is not portable — this is the § 21 vs. § 20 reconciliation applied to identity: substrate lock-in accepted for operational leverage.
- Dual-tenant topology imposes real user-experience cost. Operators authenticating across
ontinue.comandontinuemssp.comdo not have seamless SSO; workflows that span the two require deliberate account switching. Documented as an accepted trade-off. - App-registration proliferation. Every ION frontend, every external integration, every environment has its own app registration — the inventory grows quickly and requires governance (naming standard, owner assignment, expiry monitoring, credential rotation, unused-scope review). Codified in V3 references, but the operational overhead is real.
- Entra service outages become platform-wide outages. Every ION service depends on Entra tokens; a regional Entra incident is an ION incident. Mitigated by Entra’s own SLA + multi-region resilience, and by short-lived token caching in ION services, but the blast radius is genuine.
- Cross-tenant B2B configuration is administratively heavy. Each new customer tenant requires B2B Direct Connect trust configuration between the customer’s Entra tenant and Ontinue’s — a customer administrator onboarding step on the customer side, with reciprocal settings maintained by Ontinue in
ontinue.com— and is non-trivial to change if trust semantics evolve. - Rebranding drift. “Azure AD” and “Entra ID” both appear across the corpus (V2 references vs. V3 usage). Requires ongoing corpus hygiene — codified as a vocabulary rule in
../principles/README.md#vocabulary-rules.
Neutral / follow-ups
- ADR-0010 — Splitting multi-tenant access-permission apps:
read-all,write-all,graph-write,mde-write— how ION’s Entra multi-tenant apps are partitioned by scope to minimise blast radius. - ADR-0011 — Azure RBAC permissions model on data-plane resources (Cosmos, Service Bus, Key Vault, Storage) — how Managed Identities map to Entra data-plane roles.
- ADR-0012 — Customer collaboration via Teams shared channels: the B2B Direct Connect adoption in ION’s collaboration substrate.
- ADR-0013 — Service-to-service auth model: Managed Identity + Entra data-plane RBAC + certificate credentials for confidential clients — realises § 12.
- App-registration inventory + governance — SQLite manifest referenced in
../references/Architecture- Identity Management.mdtracks Managed Identities, Entra applications, and roles per environment; codify governance instandards/andwell-architected/security/identity/. - Conditional Access + Identity Protection posture — MFA enforcement, sign-in risk policies, PIM for privileged roles; documented under
well-architected/security/identity/. - Certificate rotation runbook — codified under
well-architected/operational-excellence/. - Tenant-topology validation on Anvil — confirm the deployed directory structure (
ontinue.com+ontinuemssp.com) matches the design; sanctioned tool:ion-platform-architecture-skill. Tracked as an open item.
WAF Pillar Impact
- Primary pillar:
security— identity-first architecture, MFA + Conditional Access + PIM at platform scope, credential-less service-to-service via Managed Identity, audit-attributable identity per action, per-tenant isolation via directory + Lighthouse + GDAP. - Secondary pillars:
operational-excellence— one IDM SDK, one token model, one auditing plane, one governance surface. App-registration inventory is a managed governance artefact.reliability— Entra’s own multi-region resilience + short-lived token caching in ION services keep identity availability decoupled from ION’s regional incidents.
- Trade-offs:
- Sacrifices multi-vendor identity portability for substrate operational leverage (§ 21 vs. § 20 reconciliation).
- Sacrifices seamless internal SSO across the two directories for blast-radius separation on customer-Defender managed operations.
- Accepts app-registration proliferation + governance overhead as the price of least-privilege scoping.
- Accepts Entra service dependency as a shared-fate risk with the underlying Azure platform.
Previous approach (V2)
V2 codified the tenant-topology half of this decision in V2 ADR1 (../references/Architecture V2- ADR1 - Azure AD Tenant Topology.md, dated 2023-01-16). The provider choice itself — Entra ID / Azure AD as the identity substrate — was implicit-foundational in V2: the platform was Microsoft-first from inception, and no alternative was seriously considered because none could serve the Microsoft integration surface. This ADR retrospectively documents both the provider choice (implicit in V2) and the tenant topology (V2 ADR1) as one coherent V2-originated decision that remains active in V3.
What V3 adds — not a substrate change, but a deepening of the Entra posture toward a fully credential-less platform:
- Managed Identity as the default for service-to-service (§ 12) — V2 used a mix of connection strings, SAS, and Managed Identity; V3 codifies Managed Identity everywhere on the internal path.
- Federated Identity Credentials (FIC) — the credential-less-platform lever. V3 adopts Entra Workload Identity Federation via Federated Identity Credentials. Workloads outside Azure that must authenticate into ION (external services with their own OIDC-compliant IdPs, cross-cloud consumers) exchange their native OIDC token for an Entra token bound to an ION-side User-Assigned Managed Identity; Runway CI/CD exchanges its GitHub Actions OIDC token through a per-environment federated credential on a Runway Entra application (ADR-0024 § 6) — in both cases with no client secret, no certificate, no long-lived credential stored anywhere. Combined with Managed Identity on the internal path, FIC extends the “no secrets” posture across the platform boundary, closing the last significant secret-storage surface the V2 posture left open (long-lived service-principal secrets for external inbound callers and for CI/CD).
- Tenant Governance/GDAP for human Defender delegated access — V3 adopts this architecture under ADR-0033. The capability remains Preview / controlled rollout and requires separate production approval; this does not rewrite V2’s Access Package history.
- Workload identity federation for CI/CD (Runway → Azure resources) — realised via a per-environment federated credential on a Runway Entra application, configured as a Runway prerequisite; avoids long-lived service-principal secrets in the pipeline.
The V2 ADR1 tenant topology decision is preserved verbatim.
Amendments
- 2026-10-14 — CI/CD federation target corrected. The V3 additions previously grouped Runway CI/CD with workloads that federate to an ION-side Managed Identity. Corrected to match ADR-0024 § 6 and ADR-0013 § 4: the GitHub Actions OIDC token federates through a per-environment federated credential on a Runway Entra application.
- 2026-10-14 — Access Package coexistence. The Decision no longer describes Access Packages as historical: they remain the production human-access path outside the GDAP rollout cohort until GDAP production approval, matching the ADR-0033 amendment.
- 2026-10-14 — B2B Direct Connect configuration owner. Customer-side B2B Direct Connect settings are a customer administrator onboarding step; the onboarding script does not configure them. Ontinue maintains the reciprocal per-organisation settings in
ontinue.com.
References
../references/Architecture V2- ADR1 - Azure AD Tenant Topology.md— the V2 tenant-topology decision this ADR retrospectively documents and extends.../references/Architecture V2- ADR2 - Customer Environment Access.md— proposed customer-environment access model (Lighthouse + PIM/Marketplace for Sentinel and Access Packages for Microsoft 365/Defender); normalized as ADR-0030.../references/Architecture- Identity Management.md— V3 identity-management overview: user populations, integration paths, OAuth 2.0 flow selection.../references/Identity Management- Azure AD Implementation.md— V3 implementation guidance: app-registration best practices, PKCE, certificate credentials, multi-tenant vs. single-tenant application shapes.../references/Identity Management- Certificates.md— certificate-credential lifecycle.../references/Identity Management- Micro-services Communication.md— service-to-service identity model (feeds ADR-0013).../references/Identity Management- Azure RBAC Permissions.md— data-plane RBAC (feeds ADR-0011).../references/Identity Management- Microsoft Teams.md,../references/Identity Management- Customer Portal (Teams).md— Teams / B2B Direct Connect implementation (feeds ADR-0012).../references/Identity Management- Entra App Role Creation.md— app-role definition standard.../references/Security Architecture- Access Permissions - Service Principals.md— service-principal access model (feeds ADR-0010).../references/Architecture- Security Architecture.md— overall security posture.- External: Microsoft Entra ID — product overview.
- External: Managed identities for Azure resources — realises § 12.
- External: Azure Lighthouse — cross-tenant delegated access to Sentinel subscriptions.
- External: GDAP overview — cross-tenant delegated access to Defender / M365 operations.
- External: B2B Direct Connect — Teams shared-channel trust between two Entra tenants.
Related ADRs
- Depends on:
- (None — foundational)
- Enables:
- ADR-0010 — Splitting multi-tenant access-permission apps.
- ADR-0011 — Azure RBAC permissions model.
- ADR-0012 — Customer collaboration via Teams shared channels.
- ADR-0013 — Service-to-service auth model (Managed Identity + Entra data-plane RBAC).
- ADR-0014 — Shared APIM topology (APIM token validation against Entra).
- ADR-0033 — Tenant Governance/GDAP for supported human Defender XDR access.
- Related: