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. Architecture
  2. ION Architecture V3
  3. Well-Architected
  4. V3 Security
  5. V3 Identity
  6. V3 Identity Standard

V3 Identity Standard

security
VersionV2V3
architecturev3

V3 Identity Standard

This page is the single normative identity standard for ION V3. The terms MUST, MUST NOT, and SHOULD are requirements as defined by RFC 2119. An implementation that does not meet a MUST or MUST NOT is non-compliant and requires remediation; another identity document cannot weaken these requirements.

Trust boundaries

  1. Microsoft Entra ID MUST authenticate ION users and Azure workloads.
  2. Authentication MUST NOT be treated as authorization. Every request MUST be authorized for its caller, tenant, resource, and operation.
  3. Internal Alya identities, customer identities, workload identities, customer-tenant access applications, Azure-resource permissions, Exchange mailbox scopes, and Teams membership MUST remain separate trust and authorization boundaries.
  4. Application registrations MUST be separated by environment. Production registrations and permissions MUST NOT be shared with non-production environments.
  5. Redirect URIs and application ID URIs MUST be explicit, HTTPS except for approved local development, owned, and free of wildcards.
  6. Browser clients MUST NOT contain or persist a client secret, certificate private key, or other application credential. Shells MUST use Authorization Code with PKCE and MUST NOT use implicit flow.

User-token termination

  1. User tokens MUST terminate at the receiving BFF. APIM MUST validate the inbound token before routing it, and the BFF MUST be the last boundary that consumes it.
  2. APIM MUST authenticate to the backend with its own managed-identity token in Authorization for the Platform API audience.
  3. APIM MUST set X-Authorization from the validated inbound token, or from its own token when no caller context is needed. A client-supplied X-Authorization MUST NOT reach a backend. Not yet enforced: gap APIM-01. Until it is fixed, a backend MUST validate any X-Authorization token it uses.
  4. A user token MUST NOT be forwarded by a BFF to a domain service, queue, topic, event, storage service, database, telemetry system, Azure endpoint, or Microsoft Graph. BFFs MUST NOT use on-behalf-of exchange to propagate a user token.
  5. A BFF calling downstream MUST obtain a new token with its own managed identity for the exact target audience.
  6. User and customer context needed downstream MUST be validated, minimal application data, not a token or authorization header.
  7. Bearer tokens, capability tokens, authorization headers, refresh tokens, authorization codes, client assertions, secrets, and private keys MUST NOT be logged, traced, placed in exception text, or included in support artifacts.

Capability authorization

  1. Each shell MUST obtain a capability token from Signet after sign-in. The browser MUST NOT create, modify, or widen a capability token.
  2. Signet MUST derive shell and persona from the Entra audience and roles and MUST reject a requested shell that does not match.
  3. Customer-portal capability tokens MUST be scoped to the user’s own tenant. Unrestricted scope MUST be issued only to internal and advisor personas.
  4. Permissions MUST use DomainEntity.Read or DomainEntity.ReadWrite. MFEs MUST gate on permissions and mfe_access, never on role or shell names.
  5. Every MFE request MUST carry the shell’s Entra token and the capability token. MFE BFF APIs MUST be published through the APIM MFE product, which MUST validate capability scope against the request path and fail closed.
  6. Every MFE BFF route MUST use the shared capability middleware, MUST bind the capability token to the Entra token (entra_aud, oid equals sub, tenant in scope), and MUST enforce the route’s permission, shell rules, resource tenant, and response fields.
  7. Changes to Ion.* user roles MUST be accompanied by the matching Signet role-to-permission and role-to-MFE changes.
  8. Hidden UI controls MUST NOT be treated as authorization. Domain services MUST independently enforce tenant isolation and business rules.

Token validation and authorization

  1. APIM MUST validate token type, signature, issuer, validity time, audience, caller identity, and required role or scope for every token-based route.
  2. For a multi-tenant user token, APIM and the BFF MUST validate the issuer-to-tenant binding and active membership of the tenant in the onboarded-tenant allowlist. Consent alone is not sufficient.
  3. Caller validation MUST verify the authorized client application or workload identity. A caller MUST NOT be accepted solely because the audience is valid.
  4. Application-only calls MUST require an application role. User-delegated calls MUST require the delegated scope or user role defined by the route. roles and scp MUST NOT be treated as interchangeable.
  5. Backends MUST accept only the Platform API audience and MUST NOT be directly reachable without APIM’s managed-identity token.
  6. Domain services MUST authenticate the calling workload and enforce ownership, tenant isolation, operation permission, and business rules.
  7. Authorization failures MUST fail closed and MUST NOT disclose validation internals or customer data.
  8. Teams membership MUST NOT substitute for any API, capability, Azure RBAC, or customer-environment authorization.

Azure workload identity

  1. Every microservice MUST have its own user-assigned managed identity, created in the service’s resource group, and MUST use it for service-to-service and Azure-resource access.
  2. System-assigned managed identities MUST NOT be used for ION microservices.
  3. A managed identity MUST NOT be shared by more than one microservice, except the rome auth identity in rule 6.
  4. An Azure workload MUST NOT use a client secret or certificate as an alternative or fallback to managed identity, except the delegated Teams publishing exception in Delegated Teams publishing.
  5. Tokens MUST be requested for the exact target audience and MUST NOT be reused across audiences.
  6. The rome auth identity MUST be used only as the federated credential for App Service authentication against the Platform API application. It MUST NOT hold Azure RBAC or Ion.* roles and MUST NOT be used to call any service or resource.
  7. App Service authentication MUST use the rome auth identity with OVERRIDE_USE_MI_FIC_ASSERTION_CLIENTID for new services. Existing services that read an Easy Auth secret from Key Vault MUST migrate.
  8. API roles and Azure RBAC MUST be assigned independently at the smallest practical scope. Cross-resource-group RBAC MUST have a security exception.
  9. A workload identity MUST NOT receive delegated user scopes. The delegated Teams publishing service account is a user identity, not a workload identity, and is governed by Delegated Teams publishing.

Delegated Teams publishing

Microsoft Graph offers only the delegated ChannelMessage.Send permission for posting channel messages. Pigeon therefore posts notifications into Teams channels as a dedicated user service account, using the resource owner password credentials (ROPC) grant (ADR-0013 § 4). This is the only accepted ROPC path in ION.

  1. ROPC MUST NOT be used outside Pigeon’s Graph Teams calls. A new ROPC path MUST be a new ADR exception.
  2. The service account MUST be cloud-only in the Ontinue tenant, dedicated to Pigeon, and hold no Entra or Azure administrative role.
  3. Its delegated Graph scopes MUST be limited to what Pigeon calls: sending channel messages and replies and creating its own meetings. Its channel membership MUST be limited to the channels Pigeon publishes to.
  4. The account password and the Teams application’s client secret MUST be stored in Pigeon’s Key Vault, MUST have an expiry, and MUST be rotated. SRE MUST monitor their expiry.
  5. Any Conditional Access exclusion that ROPC requires, such as from MFA, MUST cover only this account. The account SHOULD be restricted to the network locations Pigeon signs in from.
  6. The owning team MUST monitor the account’s sign-ins and alert on failures and on sign-ins from unexpected locations or clients.
  7. Tokens obtained through ROPC MUST NOT be logged and MUST NOT be cached beyond their expiry.
  8. The exception MUST be reviewed whenever Microsoft changes the Teams permission model, and retired if an application-permission or bot-based path can deliver the same messages.

Federated credentials

  1. Every new Entra application MUST be created with federated credentials only. New client secrets MUST NOT be created for Ontinue-controlled callers.
  2. A multi-tenant customer-access application MUST trust each calling service’s own user-assigned managed identity as a separate federated credential.
  3. Applications that still hold client secrets MUST be on the migration list, their secrets MUST be stored in Key Vault, and SRE MUST monitor their expiry until the secret is removed.
  4. Owners MUST monitor the number of federated credentials per application against the Entra limit of 20.
  5. CI/CD MUST use GitHub OIDC federation with a subject restricted to the approved repository and environment.
  6. A non-Azure integration SHOULD use federation when its provider can present an OIDC token; otherwise its credential MUST follow the exceptional-credential rules in this standard.

Customer-tenant access

  1. Customer-tenant workload access MUST use the application for its surface: the intent-shape applications for Graph and Defender for Endpoint, the phishing application for mailbox analysis, and the hollow application for customer Azure resources.
  2. Admin consent MUST use the organizations authority with a state value. ION MUST verify the returned tenant and state against the onboarding record before activating access. The common authority MUST NOT be used.
  3. The hollow application MUST NOT declare API permissions. ION MUST recommend least-privilege roles and scopes; the customer MUST remain the party that assigns them.
  4. ION MUST NOT treat the existence of a service principal or consent as a capability. It MUST check its effective permissions or the validated mailbox scope and degrade gracefully when it is missing.
  5. Mail.Read MUST be held only by the phishing application. ION MUST NOT read mail for a customer until the customer has scoped the application with Exchange Online RBAC for Applications and the scope has been validated with in-scope and out-of-scope tests.
  6. Application Access Policies MUST NOT be used for new onboarding.
  7. Human customer-environment access MUST follow Customer Environment Access.

Applications, roles, and RBAC

  1. Each application registration, enterprise application, managed identity, federated credential, role definition, role assignment, capability mapping, consent grant, Azure RBAC assignment, Exchange scope, and exceptional credential MUST have an accountable owning team.
  2. Identity configuration MUST be declared in version-controlled automation. Portal changes MUST NOT be the system of record; emergency changes MUST be reconciled before the change record closes.
  3. Application roles MUST use the Ion.<Resource>.<Operation>[.<Constraint>] vocabulary, describe a stable business capability, and evolve additively.
  4. Permission grants MUST be least privilege with a documented justification, approval, review interval, and revocation procedure.
  5. Every identity and assignment MUST be inventoried and periodically reviewed. Stale, unused, excessive, or expired access MUST be revoked.

Lifecycle, evidence, and incidents

  1. Identity changes MUST include positive and negative authorization tests before production activation.
  2. Every identity or permission change MUST retain evidence of request, owner, approval, declarative change, deployment, positive test, negative test, and rollback or revocation.
  3. Owners MUST monitor failed authentication, failed authorization, capability-validation failures, consent, role, federated-credential, RBAC, and credential events without recording tokens.
  4. Suspected token or credential exposure MUST trigger containment, revocation, log-preserving investigation, and validation that old access fails.
  5. Customer offboarding MUST disable the allowlist entry first, then revoke consent, role assignments, mailbox scopes, Teams relationships, and residual sessions or caches.
  6. An exceptional non-Azure integration credential MUST be security-approved, stored in Key Vault, owned, expiring, rotated, monitored, and revoked at retirement.

Implementation

Use the V3 identity implementation guide with the identity architecture, capabilities, identity workflows, and Customer Environment Access.

On this page

  • Trust boundaries
  • User-token termination
  • Capability authorization
  • Token validation and authorization
  • Azure workload identity
  • Delegated Teams publishing
  • Federated credentials
  • Customer-tenant access
  • Applications, roles, and RBAC
  • Lifecycle, evidence, and incidents
  • Implementation
PreviousMicrosoft Entra ID for ION V3
NextV3 Identity Implementation
Edit on GitHubSecurity