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. Applications and Authorization in ION V3

Applications and Authorization in ION V3

security
VersionV2V3
architecturev3

Applications and Authorization

ION V3 separates user sign-in, capability resolution, API audiences, workload identity, and resource authorization. Microsoft Entra ID authenticates each caller, but possession of a valid token is never sufficient by itself: APIM, Signet, the BFF, the domain service, the target Azure resource, and — for customer-tenant access — the customer’s own controls enforce different parts of the authorization contract.

Microsoft Entra ID defines the directory and user-population topology. ADR-0013 — Service-to-service authentication defines the normative token boundaries used on this page, and Capabilities describes the identity view of the Signet capability token.

Application classes

ClassTrust and registration modelAuthentication flowAuthorization boundary
Shell applicationSPA/public client registration per shell and population: Alya (single-tenant), Bondi customer (multi-tenant), Bondi advisor (single-tenant). It is the sign-in audience for every MFE BFF in that shell; there is no per-BFF audienceAuthorization Code with PKCE through MSAL; no client secret. The shell then calls Signet GET /v1/capabilities with the Entra token and X-ShellEntra app roles on the shell application feed Signet. UI checks are advisory, not authoritative
MFE BFFAzure workload with its own UAMI; no app registration of its own; published through the APIM product apim-product-mfe-{env}Receives APIM’s managed-identity token in Authorization, the validated shell token in X-Authorization, and the capability token in X-CapabilitiesBinds capabilities to the user, terminates the user token, enforces per-route permissions and tenant scope, and calls downstream with its own UAMI
Application BFFServer-side boundary for non-MFE application routes, paired with the relevant shell application and tenancy modelSame APIM pattern as the MFE BFF; uses its own UAMI for downstream callsTerminates the user token and enforces route, persona, customer, tenant, and operation policy
Signet capability serviceAzure Functions service with its own UAMI; external API behind apim-product-signet-ext-{env}, internal API behind apim-product-signet-int-{env}; RS512 signing key held in its Key VaultExternal: shell Entra token plus X-Shell. Internal: APIM managed identity onlyResolves persona, tenant scope, <DomainEntity>.<Read|ReadWrite> permissions, and MFE access from Entra roles; validates tenant scope and a coarse write gate for APIM
API / resource applicationRegistration that exposes an API audience, delegated scopes, or application roles; internal platform APIs use the Platform API Application role catalogueReceives Entra access tokens for its own audience; backend Easy Auth requires the Platform API audienceEnforces required roles or scopes and delegates domain invariants to the owning service
Azure workload managed identityOne UAMI per microservice — no exceptions for workload access. System-assigned and shared UAMIs are not used. RBAC is assigned at the service’s resource-group scopeAcquires a token for the target API, Azure resource, or api://AzureADTokenExchangeApplication roles authorize ION API calls; Azure RBAC authorizes Azure control-plane or data-plane calls
Customer-tenant access appMulti-tenant registration in the Ontinue directory, consented per customer; fixed permission shape per ADR-0010Workload Identity Federation: each calling workload’s UAMI is a FIC on the app. Legacy Key Vault secrets are transitionalCustomer admin consent, the selected intent shape, the onboarding allowlist, and customer-side scoping such as Exchange Online RBAC for Applications
Hollow appMulti-tenant registration with zero API permissions per ADR-0011Workload Identity Federation onlyAzure RBAC that the customer assigns to its service principal on specific customer resources
CI/CD deployment identityRunway Entra application with a per-environment federated credential; configured as a Runway prerequisite, not in TerraformGitHub Actions OIDC token exchanged through a FIC whose subject is restricted to repository and environment (ADR-0024)Azure RBAC for deployment scope only; no runtime data access
External integrationPurpose-specific app registration for callers outside the Azure workload boundary, such as ServiceNowFederated credential where the caller has an OIDC issuer; otherwise client credentials with certificateApplication role, tenant rule, integration-specific allow-lists, and revocation path

Public clients cannot protect credentials. Confidential components keep their credential boundary server-side. All Azure workloads use their own user-assigned managed identity and do not use embedded client secrets or certificate credentials. Every new Entra application starts with federated credentials only.

The single recorded shared-identity exception is the rome auth identity: a shared UAMI used only as the federated credential for App Service and Functions Easy Auth against the Platform API app, because Entra allows at most 20 federated identity credentials per application. It holds no Azure RBAC, no Ion.* roles, and no data access. Some services, such as Signet, still use a Key Vault Easy Auth secret while migration to this configuration is in progress. See App Service authentication.

The single recorded delegated-credential exception is Pigeon’s Teams publishing account. Graph has no application permission for posting channel messages, so Pigeon posts as a dedicated user service account through the ROPC grant, with the password and client secret held in its Key Vault (ADR-0013 § 4). Pigeon’s UAMI is used for every other call. See Microsoft Teams and the guideline controls.

Registration model

Registrations are divided by responsibility rather than reused as a general platform credential:

  1. Separate environments. Development, test, staging, and production have separate registrations, owners, redirect URIs, audiences, assignments, federated credentials, and any transitional credentials.
  2. Separate public client and resource API. A shell registration handles sign-in; an API registration exposes the intended API audience and permissions. Tightly coupled exceptions require the same trust and lifecycle boundary.
  3. One audience per shell. Every MFE BFF in a shell accepts the same shell token. MFE BFFs do not get their own registration or audience; per-feature authorization is carried by capability permissions, not by token audience.
  4. Separate internal and customer tenancy. Alya and advisor shell applications are single-tenant. Customer Portal applications that accept customer-directory users are multi-tenant and require customer administrator consent on the organizations authority.
  5. Separate advisor access. Advisor capability is not present in the customer-consented registration. The dedicated advisor shell application lets Signet issue an unrestricted scope and lets the BFF require the advisor role. That role grants access to every active onboarded customer.
  6. Separate integration intent. Customer Graph and Defender permissions are split into bounded read/write shapes, with mailbox access in a separate opt-in phishing app and Azure resource access in the hollow app.
  7. Shared internal role vocabulary. The single-tenant Platform API Application declares the Ion.* application roles used by internal service callers. Role assignment, not registration reuse, determines each workload’s capabilities.
  8. Federated credentials by default. New applications are created with federated identity credentials only, and the FIC count per application is tracked against the Entra limit of 20.

Registration owners maintain the supported account type, redirect URIs, audience, exposed scopes, app roles, admin consent, federated credentials, transitional credentials and their expiry, and offboarding path. Wildcard or unowned redirect URIs are prohibited.

User traffic: shell to MFE BFF

The BFF is the user-token termination boundary. User tokens never propagate beyond the BFF. Downstream ION services and Azure resources receive a token for the BFF’s own UAMI, re-issued at APIM as APIM’s own managed-identity token, never the browser’s token.

  1. The shell signs the user in with MSAL to its shell Entra application and calls Signet GET /v1/capabilities with the Entra token and X-Shell (alya or bondi). Signet returns a capability token (cap+jwt, RS512, audience mfe-apim, about one hour TTL) carrying sub, shell, persona_type, scope, permissions, mfe_access, and entra_aud.
  2. Every MFE-to-BFF call sends Authorization: Bearer with the shell Entra token and X-Capabilities with the capability token. All MFE BFFs in a shell accept the same shell token.
  3. The APIM product apim-product-mfe-{env} validates the Entra token, then calls Signet POST /v1/validations with APIM’s managed identity to check tenant scope and the coarse write gate. A denial returns 403 and the BFF is never reached.
  4. APIM acquires its own managed-identity token for the Platform API audience and places it in backend Authorization. It sets X-Authorization to the validated original shell token and forwards X-Capabilities.
  5. The BFF, through the shared Ontinue.Ion.Capabilities.Signet middleware, re-verifies the capability token and binds it to the user token in X-Authorization: entra.aud equals entra_aud, oid equals sub, and tid is within scope. It then enforces the route’s permission and terminates the user token.
  6. For a downstream call, the BFF acquires an application token with its own UAMI for the Platform API audience. APIM validates it and its Ion.* role, then authenticates to the backend with its own managed identity.
  7. The domain service enforces operation and state invariants. If it calls an Azure resource, it uses its own UAMI and the resource enforces Azure RBAC.

The frontend may hide unavailable features based on permissions and mfe_access, but frontend state is not an authorization decision. Requests are re-authorized at the server boundaries. The end-to-end workflow is in Shell and MFE.

X-Authorization is context, not a credential

APIM must override X-Authorization with the validated inbound token so that a client-supplied value never reaches a backend. The deployed global policy uses exists-action="skip" (gap APIM-01), so until it is fixed the receiving service validates the token itself. The BFF reads it for user context and capability binding and never forwards it downstream. An API may replace it with APIM’s own token when no caller context is needed — for example, the Internal API.

Service-to-service and Azure-resource traffic

Every Azure-hosted caller authenticates with its own UAMI. For an ION API call, the caller requests a token for the Platform API Application audience (api:// application ID URI with /.default); its assigned Ion.* application roles are carried in the roles claim.

When the call traverses APIM:

  1. APIM validates the caller’s managed-identity token, including signature, expiry, and aud against the environment allow-list of supported client application audiences (single-tenant and multi-tenant). The global policy requires a roles claim, and the operation policy enforces the route’s required Ion.* role.
  2. APIM acquires its own token with the authentication-managed-identity policy for the Platform API audience and places it in backend Authorization.
  3. APIM sets X-Authorization to the original, already-validated caller token so the receiving service can attribute the calling workload. An API may replace it with APIM’s own token when no caller context is needed downstream.
  4. The backend’s Easy Auth requires the Platform API audience and therefore authenticates APIM. A customer-tenant token can never carry that audience, which closes off direct backend invocation from a customer tenant.
  5. The backend reads X-Authorization only as caller context. It never replays it to another service.

Easy Auth itself authenticates to the Platform API app as a confidential client using the rome auth identity as a federated credential (client_secret_setting_name = "OVERRIDE_USE_MI_FIC_ASSERTION_CLIENTID"). That identity signs only the Easy Auth client assertion; every service still uses its own UAMI for all other access.

Direct calls to Azure services use a token for that Azure resource. The target resource authorizes the service’s UAMI through Azure RBAC at the service’s resource-group scope; cross-resource-group grants require a security-exception ADR. An ION API app-role assignment does not imply Azure-resource access, and an Azure RBAC assignment does not imply permission to invoke an ION API.

The managed-identity and role model is specified in ADR-0013 and applied by the microservice identity workflow, Managed Identity runbook, and API Management architecture.

Roles, scopes, RBAC, capabilities, and Teams membership

These mechanisms answer different authorization questions and are not interchangeable.

MechanismApplies toMeaning in V3Enforcement point
Application roles (roles)Application-only callers and assigned users/groups where the resource app permits themA named capability on an ION API, using the Ion.* vocabulary; on shell applications, the input Signet projects into capability permissionsAPIM performs coarse route checks; BFF or API enforces operation-specific requirements
Delegated scopes (scp)A public or confidential client acting on behalf of a signed-in userThe client may perform a bounded operation in the user’s contextAPIM and the receiving BFF/API validate the required scope and user context
Capability permissionsUsers in a shell, through the Signet capability token<DomainEntity>.<Read|ReadWrite> permissions, MFE access, and tenant scope resolved once from Entra roles and shell audienceAPIM via Signet validations for tenant scope and coarse write gate; the MFE BFF for per-route and per-resource permission
Azure RBACAzure management and data-plane resources, in the Ontinue estate and — through the hollow app — in customer subscriptionsThe principal may perform Azure actions or data actions at an assigned resource scopeAzure Resource Manager or the target Azure service
Graph and Defender application permissionsCustomer-tenant access apps after admin consentThe access app may call the consented Graph or Defender for Endpoint API in that customer tenantMicrosoft Graph and the Defender for Endpoint API
Exchange Online RBAC for ApplicationsThe phishing app’s service principal in a customer tenantApplication Mail.Read is limited to mailboxes in a customer-defined Management Scope or Administrative UnitExchange Online in the customer tenant
Delegated customer-environment accessOntinue operators in customer Defender XDR and SentinelGDAP/Tenant Governance and Azure Lighthouse grants selected per surfaceMicrosoft Defender XDR and Azure Resource Manager; selection owned by Customer Environment Access
Teams/channel membershipOntinue-hosted shared collaboration spacesThe person may participate in a particular Team or channelEntra B2B Direct Connect and Microsoft Teams

Teams membership is not proof of an ION API role, a capability permission, a customer subscription, an advisor role, Sentinel access, or Azure RBAC. A capability permission does not grant an Ion.* role to the BFF. Likewise, an application role does not bypass customer, tenant, workspace, ownership, or domain-state checks, and a consented Graph permission does not bypass Exchange scoping.

Multi-tenant token validation

Customer-facing APIs accept tokens from approved customer Entra directories, not from every organizational directory merely because the registration is multi-tenant. APIM fails closed unless all required checks succeed:

  • Verify signature, validity interval, token version, and expected shell audience.
  • Derive the issuer expectation from the token’s tenant and validate the issuer according to Entra’s multi-tenant rules; do not trust an arbitrary issuer.
  • Check the tenant claim against the active customer-tenant subscription and onboarding record.
  • Require the route’s application role or delegated scope; roles and scp are not substitutes for one another.
  • Validate the capability token through Signet: a customer persona’s scope is restricted to its own tenant, and the BFF re-checks that tid is within scope.
  • For advisor routes, validate the Ontinue advisor identity and advisor role, then require the requested customer to be active and onboarded. The advisor role applies to all such customers.
  • Overwrite X-Authorization with the validated token; never pass a client-supplied value through.
  • Preserve safe tenant, caller, route, and correlation context for audit without logging bearer tokens, capability tokens, or authorization headers.

A customer token cannot target the internal Platform API Application audience and cannot be routed directly to a domain backend. Internal single-tenant flows use the Ontinue issuer boundary and do not apply customer multi-tenant acceptance rules. Customer-tenant workload tokens obtained through federation are selected by the onboarding record’s tenant, never by request input.

Enforcement ownership

Authorization is deliberately layered. Passing an earlier layer never disables a later one.

OwnerRequired enforcementDoes not own
APIMValidate the caller token’s signature, issuer/tenant policy, expiry, audience, approved caller, and route-level role or scope; apply customer-tenant allow-listing, throttling, and routing; on MFE routes, call Signet validations and fail closed with 403; authenticate to the backend with its own managed identity and forward the validated caller token in an APIM-owned X-Authorization (override required; gap APIM-01)Domain state transitions, per-resource capability rules, field-level business rules, or Azure data-plane RBAC
SignetValidate the shell Entra token; cross-check X-Shell against the token audience; resolve persona, tenant scope, permissions, and MFE access from Entra roles; sign the capability token; for APIM, validate tenant scope and the coarse write gatePer-resource authorization, domain invariants, or issuing Entra tokens
BFFRead the validated user token from X-Authorization; verify and bind the capability token (entra_aud, sub, tenant scope); terminate the user token; enforce route, permission, shell-specific, and tenant rules; prevent over-broad requests and responses; call downstream services with its own UAMIForwarding X-Authorization or the capability token downstream, granting Azure-resource permissions, or replacing domain invariants
Domain serviceAuthenticate APIM through Easy Auth on the Platform API audience; attribute the caller from X-Authorization; enforce operation-specific authorization, aggregate ownership, allowed state transitions, field constraints, and tenant isolation; reject impossible or unsafe domain actionsTrusting the UI or Teams membership as authorization, or replaying any caller token
Azure resourceAuthenticate the workload UAMI and enforce Azure RBAC, data actions, and resource scopeION user personas, delegated scopes, capability permissions, Teams membership, or domain policy
Customer tenantGrant or revoke admin consent; assign Portal users and groups; scope Mail.Read with Exchange Online RBAC for Applications; assign Azure RBAC to the hollow app’s service principalION platform authorization, capability resolution, or ION-side role assignment

This division keeps authentication at the edge, capability resolution in Signet, user-context authorization at the BFF, business authority in the domain, and resource permission at the resource — or the customer — that owns it.

External integrations

External integrations have a dedicated identity and permission boundary:

  • Customer-facing multi-tenant registrations require explicit customer admin consent on the organizations authority, and ION verifies the returned tenant and state against the onboarding record before activation.
  • Customer Graph and Defender access uses the intent shape selected during onboarding; write capability is not inferred from read access. Mailbox access uses the opt-in phishing app, scoped by the customer with Exchange Online RBAC for Applications (Mailbox-scoped access).
  • Customer Azure resource access uses the hollow app; the customer assigns the recommended least-privilege roles (Customer Azure RBAC).
  • Access apps and the hollow app authenticate with Workload Identity Federation. Each calling workload’s own UAMI is a FIC on the app. Existing Key Vault client secrets on access apps are transitional; SRE monitors their expiry until migration completes. The 20-FIC limit per app is monitored.
  • A non-Azure external caller uses a purpose-specific application identity, expected audience, application role, tenant rule, and revocation path, federating its OIDC token where possible. Certificates are preferred over client secrets where a credential is unavoidable. Credentials and token contents are never logged or documented.

Human access to customer environments uses GDAP/Tenant Governance for Defender XDR (ADR-0033), Azure Lighthouse for Sentinel (ADR-0030), and Teams B2B Direct Connect for collaboration (ADR-0012). Identity owns the primitives — the hollow app, federated credentials, Exchange scoping, and consent — while Customer Environment Access owns per-surface selection and onboarding. Federation setup is in the Workload Identity Federation runbook.

V3 additions

V3 retains the V2 rules that every Azure workload uses managed identity and that user tokens terminate at the BFF, and adds:

  • Shell applications and Signet capabilities: one sign-in audience per shell for all its MFE BFFs, with <DomainEntity>.<Read|ReadWrite> permissions validated at APIM and bound at the BFF.
  • Explicit APIM token handling: APIM authenticates to backends with its own managed identity and forwards the validated caller token in an APIM-owned X-Authorization (override required; gap APIM-01).
  • Structural UAMI per microservice, with system-assigned and shared identities excluded apart from the rome auth identity for Easy Auth.
  • Workload Identity Federation for customer-tenant access apps, the hollow app, Easy Auth, and GitHub Actions deployment to Runway.
  • The phishing purpose app and hollow app, with customer-side Exchange Online RBAC for Applications and Azure RBAC as their authorization boundaries.
  • organizations admin consent with tenant and state verification.
  • GDAP/Tenant Governance for human Defender XDR access, owned by Customer Environment Access.

Workflows, guidelines, and implementation

  • V3 identity guidelines
  • Identity workflows
  • Shell and MFE workflow
  • Customer Azure RBAC workflow
  • Mailbox access workflow
  • Application registration
  • Managed identity
  • Application roles
  • Workload Identity Federation
  • App Service authentication
  • Customer onboarding
  • Lifecycle and operations
  • V3 identity architecture
  • Microsoft Entra ID
  • Capabilities
  • Micro-frontends capability service design

Related decisions

  • ADR-0009 — Entra ID as the identity provider
  • ADR-0010 — Split customer access applications by permission shape
  • ADR-0011 — Customer-tenant Azure RBAC through a hollow app
  • ADR-0012 — Teams shared-channel collaboration
  • ADR-0013 — Service-to-service authentication
  • ADR-0014 — Shared APIM topology
  • ADR-0023 — MFE UI architecture
  • ADR-0024 — CI/CD with Runway and GitHub Actions
  • ADR-0030 — Customer environment access
  • ADR-0033 — Customer environment access through GDAP

On this page

  • Application classes
  • Registration model
  • User traffic: shell to MFE BFF
  • Service-to-service and Azure-resource traffic
  • Roles, scopes, RBAC, capabilities, and Teams membership
  • Multi-tenant token validation
  • Enforcement ownership
  • External integrations
  • V3 additions
  • Workflows, guidelines, and implementation
  • Related decisions
PreviousV3 Identity
NextV3 Identity Architecture
Edit on GitHubSecurity