ION DocsV3
  • Architecture
    • ION Architecture V2
      • ION V2 — Architecture Overview
      • V2 context
        • V2 capacity model
        • V2 constraints
        • V2 integration boundaries
        • V2 requirements
        • V2 solution strategy
      • V2 Structural Design
        • ION V2 Landscape
        • ION V2 Platform Views
          • ION V2 Delivery and Runway
          • ION V2 Incident-Processing Pipelines
          • ION V2 Platform Networking
          • ION V2 Platform Observability
          • ION V2 Platform Security
        • ION V2 System Context
        • ION V2 Systems
          • Alya System Topology
          • Cogs System Topology
          • Ion IQ System Topology
          • Kingsman System Topology
          • Pigeon System Topology
          • Veritas System Topology
          • Watchtower System Topology
      • V2 evolution and platform lineage
        • Tiberium Origins
          • Tiberium Architecture Overview
          • Tiberium Components Architecture Overview
        • Voyager and the V2 Merge
          • Voyager Architecture Overview
          • Voyager Identity Architecture Overview
          • Voyager Services Architecture Overview
      • V2 Platform Architecture
        • Alya Workbench
          • Mission Brief: Alya (Workbench for Cyber Defenders)
        • Asset Discovery
        • Automation
        • Customer Communications
          • Notification and Escalation Design
        • Reporting and Dashboards
        • Vulnerability Mitigations
      • V2 Well-Architected
        • V2 Reliability
          • Availability Architecture
        • V2 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V2 Security Architecture
          • Teams Notification Security
          • Customer Data and PII
          • V2 Identity
            • Applications and Authorization
            • V2 Identity Architecture
            • Microsoft Entra ID
            • V2 Identity Standard
            • V2 Identity Implementation
              • Application Registration
              • Application Roles
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Managed Identity
            • V2 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Portal Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Customer Environment Access Architecture
            • Customer Environment Access Guidelines
            • Customer Environment Access How-to
    • ION Architecture V3
      • ION V3 Architecture Overview
      • V3 context
        • V3 capacity model
        • V3 constraints
        • V3 integration boundaries
        • V3 requirements
        • V3 solution strategy
      • V3 Structural Design
        • Data and events
          • Archival and retention
          • Event model
          • Event sourcing
          • Event store
          • Micro-frontend interaction
          • Recovery and disaster recovery
          • Replay and reconstruction
          • Reporting and customer analytics
          • Event-sourcing requirements
          • Snapshots
          • UI interaction
        • ION v3 domains
          • Assets domain
            • Assets domain flows
            • Assets domain implementation
            • Assets domain model
          • Customer Collaboration domain
            • Customer Collaboration domain flows
            • Customer Collaboration domain implementation
            • Customer Collaboration domain model
          • Incident domain
            • Incident domain flows
            • Incident domain implementation
            • Incident domain model
          • Investigation domain
            • Investigation domain flows
            • Investigation domain implementation
            • Investigation domain model
          • Remediation domain
            • Remediation domain implementation
            • Remediation domain model
          • Ticket domain
            • Ticket domain flows
            • Ticket domain implementation
            • Ticket domain model
        • ION V3 Landscape
        • ION V3 Platform Views
          • Internal API
            • Internal API architecture
            • Internal API consumer guide
            • Internal API identity and access
            • Internal API implementation
          • Micro-Frontends
            • Micro-Frontends architecture
            • Micro-Frontends capability service (Signet)
            • Micro-Frontends composition
            • Micro-Frontends identity and access
            • Micro-Frontends implementation
            • Micro-Frontends real-time (SignalR)
            • Micro-Frontends routing and ingress
            • Shells and MFEs
          • SOAR Integration
            • SOAR Integration architecture
            • SOAR Integration customer onboarding
            • SOAR Integration Identity and Access Design
            • SOAR Integration implementation
            • SOAR Integration operations
        • ION V3 System Context
        • ION V3 systems
          • Alya
          • Cogs
          • ION IQ
          • Kingsman
          • Pigeon
          • Veritas
          • Watchtower
      • V2 to V3 evolution
        • V2 to V3 architecture delta
        • V2 to V3 decision changes
        • V2 to V3 migration guidance
        • V2 to V3 service impact
      • Well-Architected
        • Cost Optimization
          • Cost Governance
            • Cost Governance Architecture
            • Cost Governance Guidelines
            • Cost Governance Implementation
          • SKU Strategy
            • SKU Strategy Architecture
            • SKU Strategy Guidelines
            • SKU Strategy Implementation
        • Operational excellence
          • Audit Logs
            • Audit Logs Architecture
            • Audit Logs Guidelines
            • Audit Logs Implementation
          • CI/CD Runway
            • CI/CD Runway Architecture
            • CI/CD Runway Guidelines
            • CI/CD Runway Implementation
          • Feature Flags
            • Feature Flags Architecture
            • Feature Flags Guidelines
            • Feature Flags Implementation
          • Incident management
            • Incident management architecture
            • Incident management guidelines
            • Incident management implementation
          • Azure Landing Zone
            • Azure Landing Zone Architecture
            • Azure Landing Zone Guidelines
            • Azure Landing Zone Implementation
          • Notifications
            • Notifications Architecture
            • Notifications Guidelines
            • Notifications Implementation
          • Observability
            • Observability Architecture
            • Observability Guidelines
            • Observability Implementation
        • Performance efficiency
          • Capacity, sizing, and scaling
            • Capacity, sizing, and scaling architecture
            • Capacity, sizing, and scaling guidelines
            • Implement capacity, sizing, and scaling
          • UI responsiveness
            • UI responsiveness architecture
            • UI responsiveness guidelines
            • Implement UI responsiveness
        • V3 reliability
          • Application resilience patterns
          • Critical flows
          • Customer reliability assurance
            • ION Platform reliability and service continuity
            • Customer reliability slides
          • Disaster recovery
            • Disaster recovery architecture
            • Disaster recovery guidelines
            • Disaster recovery implementation
              • DR implementation: API Management
              • DR implementation: App Configuration
              • DR implementation: Application Gateway
              • DR implementation: Azure SQL Database
              • DR implementation: Container Apps
              • DR implementation: Container Registry
              • DR implementation: Cosmos DB
              • DR implementation: Event Hubs
              • DR implementation: Azure Front Door
              • DR implementation: Function Apps
              • DR implementation: Key Vault
              • DR implementation: Log Analytics and Application Insights
              • DR implementation: MySQL Flexible Server (Temporal)
              • DR implementation: PostgreSQL Flexible Server
              • DR implementation: Azure Managed Redis
              • DR implementation: Service Bus
              • DR implementation: SignalR
              • DR implementation: Storage accounts
            • Operational-data replication
            • Disaster recovery operations
          • Edge and routing
            • Azure Application Gateway
              • Azure Application Gateway architecture
              • Azure Application Gateway guidelines
              • Azure Application Gateway implementation
              • Azure Application Gateway resiliency
              • Azure Application Gateway security
            • Azure Front Door
              • Azure Front Door architecture
              • Azure Front Door guidelines
              • Azure Front Door implementation
              • Azure Front Door resiliency
              • Azure Front Door security
          • Event-store disaster recovery (moved)
          • Failure mode analysis
          • Graceful degradation
            • Graceful degradation architecture
            • Graceful degradation guidelines
            • Graceful degradation implementation
          • V3 reliability maturity model
            • V3 reliability maturity assessment
            • Maturity level 2: self-preservation
            • Maturity level 3: recovery readiness
            • Maturity level 4: maintain stability
            • Maturity level 5: stay resilient
          • Multi-region replication
            • Multi-region replication architecture
            • Multi-region replication guidelines
            • Multi-region replication implementation assessment
          • Reliability testing
          • Scaling and headroom
          • Targets and health model
          • Trade-offs and accepted risks
        • V3 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • API Contracts and Asynchronous Operations
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V3 Security Architecture
          • Data protection
            • Data protection architecture
            • Data protection guidelines
            • Data protection implementation guidelines
              • API Management
              • Application Gateway
              • Azure SQL Database
              • Azure Container Apps
              • Azure Cosmos DB
              • Azure Front Door
              • Azure Function Apps
              • Azure Database for MySQL
              • Azure Database for PostgreSQL
              • Data protection procedures
          • V3 Security Guidelines
          • V3 Identity
            • Applications and Authorization in ION V3
            • V3 Identity Architecture
            • Capabilities
            • Microsoft Entra ID for ION V3
            • V3 Identity Standard
            • V3 Identity Implementation
              • App Service Authentication
              • Application Registration
              • Application Roles
              • Customer Azure RBAC
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Mailbox-Scoped Access
              • Managed Identity
              • Workload Identity Federation
            • V3 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Azure RBAC Identity Workflow
              • Customer Portal Identity Workflow
              • Mailbox Access Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Shell and MFE Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Azure Lighthouse
              • Azure Lighthouse implementation
            • GDAP and Tenant Governance
              • Access Packages (legacy)
              • GDAP human access implementation
            • Customer environment access guidelines
            • Multi-tenant Entra apps
              • Multi-tenant Entra apps implementation
            • Teams B2B Direct Connect
              • Teams B2B Direct Connect implementation
          • Network Security
            • Network Security Architecture
            • Network Security Guidelines
            • Network Security Implementation
              • Egress and Static IPs
              • Resource Access Restrictions
          • V3 Security Patterns
    • ION Architecture V4
      • How V4 evolves from V3
  • Principles
  • Patterns
    • Application Permissions Only
    • Async REST
    • Audit Logs (Pattern)
    • Auth / AuthZ
    • Dead Letter Queue (DLQ)
    • Dual Writes (and how to avoid them)
    • ECST — Event-Carried State Transfer
    • Event Hubs Throttling
    • Feature Flags (Pattern)
    • Idempotent Write
    • MFE UI Interaction
    • Notifications (Pattern)
    • Private Data Store Access
    • Schema Evolution
    • Service Bus Topic Throttling
    • UI Interaction with an Event-Sourced Backend
  • Standards
    • API Standard
    • API Standards
    • Coding Standard
    • Coding Standards
    • Documentation Standard
    • Documentation Standards
    • Microservice Standard
    • Microservice Checklist
    • Operational Readiness Standard
    • ORR — Operational Readiness Review Checklist
  • Decisions
    • ADR-0001
    • ADR-0002
    • ADR-0003
    • ADR-0004
    • ADR-0005
    • ADR-0006
    • ADR-0007
    • ADR-0008
    • ADR-0009
    • ADR-0010
    • ADR-0011
    • ADR-0012
    • ADR-0013
    • ADR-0014
    • ADR-0015
    • ADR-0016
    • ADR-0017
    • ADR-0018
    • ADR-0019
    • ADR-0020
    • ADR-0021
    • ADR-0022
    • ADR-0023
    • ADR-0024
    • ADR-0025
    • ADR-0026
    • ADR-0027
    • ADR-0028
    • ADR-0029
    • ADR-0030
    • ADR-0031
    • ADR-0032
    • ADR-0033
    • ADR-0034
  • Services
  • Governance
    • Assumptions
    • Discrepancies
    • V3 reference coverage and conflict matrix
OntinueION Docs
  1. Decisions
  2. ADR-0010 — Split multi-tenant access-permission apps by scope

ADR-0010 — Split multi-tenant access-permission apps by scope

activesecurity
decisionsv2v3v4active0010

ADR-0010 — Split multi-tenant access-permission apps by scope

Context

ION Platform requires customer-tenant permissions on Microsoft Graph and the Microsoft Defender for Endpoint (MDE) API to read telemetry and — for customers who authorise it — execute pre-approved response actions (machine isolation, restrict-execution, live response, AIR investigation, user session revocation, marking user as compromised). Sentinel access is delegated separately via Azure Lighthouse; this ADR is scoped to the app-registration-based workload integration path (Graph + MDE). Human Defender XDR portal access is a separate boundary governed by ADR-0033: Tenant Governance/GDAP projects Ontinue groups and the customer assigns Defender URBAC. Neither decision replaces the other.

The V2 baseline used a single multi-tenant Entra app registration that requested all permissions ION might ever need. Two problems surfaced with customers and operations:

  1. All-or-nothing consent. Customers who wanted ION to read Defender data but not write had no way to grant that shape. Several customers raised this explicitly during onboarding.
  2. Single point of failure. A credential expiry, a compromise event, or a forced consent revocation on one scope disabled every ION capability in that tenant simultaneously — reads, writes, Graph, MDE, all at once.

Forces / Drivers

  • principles/README.md § 22 — customers must be able to grant only the scopes required for the intent shape they chose.
  • principles/README.md § 23 — a credential expiry, consent revocation, throttling event, or compromise on one scope must not disable unrelated capability.
  • Explicit tenant-topology and identity boundary established in ADR-0009 — apps live in the ontinue.com platform directory and are consented into customer tenants.
  • principles/README.md § 21 — solution must live inside what Entra natively supports; no bespoke consent-composition surface.
  • Graph throttling ceiling — 2 000 requests/second per app across all tenants (Graph throttling limits); a single app pooling all customers is a shared-fate ceiling under the capacity model growth trajectory.
  • Operational simplicity of consent lifecycle — customer-visible names and permission lists must be reviewable by the customer’s security team without a bespoke package generator.

Decision

Split the single monolithic access-permission app into four multi-tenant Entra app registrations, one per intent-shape a customer can choose:

App registration (prod)Intent shapeContains
azsp-ontinue-ion-access-read-all-prd-01Read AllMDE read + Graph read scopes
azsp-ontinue-ion-access-mde-write-prd-01Read All + Write MDERead-All scopes + MDE action scopes (Machine.Isolate, Machine.RestrictExecution, Machine.LiveResponse, Alert.ReadWrite.All)
azsp-ontinue-ion-access-graph-write-prd-01Read All + Write GraphRead-All scopes + Graph action scopes (User.RevokeSessions.All, IdentityRiskyUser.ReadWrite.All)
azsp-ontinue-ion-access-write-all-prd-01Read All + Write MDE + Write GraphUnion of all above

Onboarding presents the customer with a Read-All-by-default consent choice plus optional Write MDE and/or Write Graph. The corresponding single app-registration consent URL is sent — the customer consents to exactly one app whose permission set matches their choice.

Separate purpose app — phishing mailbox analysis. Reading message bodies needs Microsoft Graph Mail.Read (application), which Entra grants tenant-wide. It is never added to the four intent-shape apps. It lives in a fifth, purpose-scoped app that customers consent to only when they opt into phishing analysis:

App registration (prod)PurposeContains
azsp-ontinue-ion-access-phishing-write-prd-01Phishing mailbox analysisMail.Read, Mail.ReadBasic.All, SecurityAnalyzedMessage.Read.All, SecurityAnalyzedMessage.ReadWrite.All, ThreatSubmission.Read.All, ThreatSubmission.ReadWrite.All

The customer’s Exchange administrator restricts Mail.Read to an agreed mailbox subset with an Exchange Online RBAC for Applications assignment (Application Mail.Read role, Management Scope filtered on a mailbox CustomAttribute, or an Administrative Unit). Without that assignment the Entra grant reaches every mailbox, so ION does not start processing until the customer has validated the scope with Test-ServicePrincipalAuthorization. Application Access Policies are deprecated and are not used for new onboarding.

Statically defined, four fixed shapes. No dynamic package generation and no KnownClientApplications linking at runtime — Entra does not support the composition shape ION would need.

Versioning. When a permission set must expand, publish a new numbered app (...-prd-02) rather than mutating an existing one. Existing consents remain valid; migration is a per-customer re-consent flow. Naming pattern is locked as azsp-ontinue-ion-access-<shape>-<env>-NN.

Ownership. Architecture + Helios engineering own the access apps.

Credentials — Workload Identity Federation. The standard credential for every access app is a Federated Identity Credential that trusts the calling ION workload’s own User-Assigned Managed Identity (the pattern in ADR-0011). Every new access app is created with federated credentials only. Apps created before this standard still hold client secrets in Key Vault; those secrets are transitional while the apps migrate to FIC, and SRE monitors their expiry until migration completes. Each app accepts at most 20 FICs, so the number of calling workloads per app is tracked.

Alternatives Considered

Option A — Keep a single all-scopes multi-tenant app (V2 baseline)

  • Rejected. Grounds:
    1. (decisive) Customer-consent shape. Multiple customers explicitly refused write scopes they did not want. A single app cannot express read but not write — Entra consent is per-app, not per-scope-at-runtime.
    2. Blast radius. Any credential, consent, or throttling incident on the app takes down every ION integration path in every consenting tenant simultaneously — reads, writes, Graph, and MDE all at once.
    3. Shared 2 000 rps Graph throttling ceiling across the entire ION customer base pooled through a single app object.

Option B — Dynamically generate a per-customer bespoke app registration

  • Rejected. Grounds:
    1. (decisive) Not technically feasible on the Entra platform. App registrations are static objects; KnownClientApplications linking requires statically-defined GUIDs and does not support runtime permission composition. There is no supported Entra shape for “compose permissions at consent time”.
    2. Operational cost of an app-per-customer would be linear in customer count — thousands of app objects, thousands of secret rotations, and an app-registration audit posture that no team could maintain.
    3. Fails § 21 Azure-native managed services first — inventing a custom provisioning surface on top of Entra where none is offered by the platform.

Option C — Per-scope app registration (one app per permission)

  • Rejected. Grounds:
    1. Consent-UX explosion. A customer choosing “Read All + Write MDE” would face 10+ separate consent prompts across separate apps. Every app needs credential rotation, monitoring, and a Key Vault secret.
    2. Throttling ceiling for read-heavy paths would fragment across several tiny apps instead of pooling a shared Read-All app.
    3. The four coarse shapes already map 1:1 to the intent-shapes customers actually request during procurement; finer granularity has no customer-facing benefit.

Rationale

The four shapes are the smallest set that expresses every consent choice customers actually request while keeping the operational surface bounded. Read-All is the default because ION’s read paths (telemetry ingestion, enrichment, hunting queries) are what every customer opts into; write paths are opt-in per surface (Graph vs. MDE) because that is the natural boundary customers reason about in their own security review.

Blast radius is contained along the same axis: a Graph credential problem does not disable MDE reads; an MDE write revocation does not disable Graph identity actions. The 2 000 rps Graph ceiling now applies per app, so read-heavy paths (pooled through Read-All) and identity-write paths (through the smaller Graph-Write app) have independent budgets, and new customer growth can be sharded onto new app numbers (-02, -03) when a ceiling is approached.

The static-four-apps design is the only shape that lives inside what Entra natively supports — consistent with § 21.

Consequences

Positive

  • Customers get a real consent choice; procurement blockers on write scopes no longer stall onboarding.
  • Credential, consent, or throttling failure on one shape isolates to that shape — Graph write failure does not stop Defender reads.
  • Graph 2 000 rps ceiling can be scaled horizontally by publishing new app numbers for new customer cohorts.
  • Consent surface for each customer is a single, reviewable app manifest whose scope list matches their intent shape.

Negative / Trade-offs

  • Four apps to maintain in lockstep. A new read scope must be added to Read-All and to the two writes and to Write-All — a small but real operational tax on every permission expansion.
  • Versioning is a re-consent flow. When a shape’s permission set expands, existing customers stay on the old app number until they re-consent to the new one; ION code paths must tolerate both numbers during the transition window.
  • Secret rotation multiplied by four while the apps still carry transitional Key Vault secrets. The FIC migration removes the secret; the trade-off becomes the 20-FIC-per-app ceiling on calling workloads.
  • A customer wanting an intent shape not in the four (e.g. “Write Graph only, no reads”) cannot be served — they must accept Read-All as the floor. This has been acceptable in every onboarding to date.

WAF Pillar Impact

  • Security (primary) — least privilege at the consent boundary; blast radius contained per intent shape; per-app credential rotation.
  • Reliability — a single credential or consent problem no longer disables all ION integration surfaces in a tenant.
  • Operational Excellence — bounded, well-named app inventory (four apps × env, versioned) that SRE can monitor for secret expiry.
  • Performance Efficiency — Graph 2 000 rps ceiling is horizontally shardable via numbered apps as customer count grows.
  • Cost Optimization — neutral.

Previous approach (V2)

Single multi-tenant app registration holding every Graph and MDE scope ION might ever need. Customers had to consent to everything or nothing; credential and throttling failures had platform-wide blast radius. See references/Security Architecture- Access Permissions - Service Principals.md § “Currently we use a single Multi-tenant Application Registration”.

Amendments

  • 2026-10-14 — Phishing app added. Recorded azsp-ontinue-ion-access-phishing-write-prd-01 as a fifth, purpose-scoped access app for Mail.Read-based phishing analysis, constrained by customer-side Exchange RBAC for Applications.
  • 2026-10-14 — Federated credentials are the standard. Replaced “client credentials remain in Key Vault by design” with Workload Identity Federation as the standard; existing Key Vault secrets are transitional during migration.

References

  • references/Identity Management- Email Body Permissions.md — phishing app and mailbox scoping.
  • references/Identity Management - Workload Identity Federation.md — managed identity as FIC for multi-tenant apps.
  • references/Security Architecture- Access Permissions - Service Principals.md — primary source.
  • references/Architecture- Identity Management.md — per-integration IdM matrix.
  • Microsoft Graph throttling limits.
  • ADR-0009 — Entra ID as identity provider — tenant topology and platform IdP choice.
  • principles/README.md §§ 8, 9, 21.

Related ADRs

  • ADR-0009 — establishes the ontinue.com platform directory in which these apps live.
  • ADR-0011 — workload Azure RBAC in customer tenants; complements this Graph/MDE workload-app decision.
  • ADR-0013 — service-to-service authentication; reduces secret-rotation burden for eligible ION callers but does not replace customer-tenant consent.
  • ADR-0033 — human Defender XDR portal access through Tenant Governance/GDAP and customer-assigned URBAC; separate from this workload access path.

On this page

  • Context
  • Forces / Drivers
  • Decision
  • Alternatives Considered
  • Option A — Keep a single all-scopes multi-tenant app (V2 baseline)
  • Option B — Dynamically generate a per-customer bespoke app registration
  • Option C — Per-scope app registration (one app per permission)
  • Rationale
  • Consequences
  • WAF Pillar Impact
  • Previous approach (V2)
  • Amendments
  • References
  • Related ADRs
PreviousMicrosoft Entra ID as the identity provider for the ION Platform
NextADR-0011 — Customer-tenant Azure RBAC via hollow multi-tenant app + workload identity federation
Edit on GitHubSecurity