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 Implementation
  7. Identity Lifecycle and Operations

Identity Lifecycle and Operations

security
VersionV2V3
architecturev3

Identity Lifecycle and Operations

Operate V3 identity as an owned, reviewable, and revocable control plane. This runbook covers inventory, federated credential operations, access reviews, monitoring, revocation, incident investigation, retirement, and credentials for exceptional non-Azure integrations.

Prerequisites

  • Named platform identity, application, workload, API and resource, SRE, security operations, and customer onboarding owners.
  • Read access to Entra audit and sign-in logs, Azure Activity Logs, APIM authorization telemetry, BFF and domain authorization decisions, and deployment history.
  • A version-controlled inventory and reconciliation process.
  • Alerting and incident procedures that do not collect tokens or authorization headers.
  • A tested break-glass administrative process with independent review.

Maintain the inventory

Inventory each environment-specific:

  • application registration, enterprise application, audience, scope, redirect URI, and consent grant;
  • microservice UAMI, its attached hosts, and token audiences;
  • the rome auth identity and every Function App or App Service that attaches it;
  • Federated Identity Credential: holder application or identity, issuer, subject, owning workload or repository;
  • Ion.* role definition, assignment, and Signet capability mapping;
  • Azure RBAC assignment and resource scope;
  • customer tenant allowlist entry, chosen access applications, Teams relationship, hollow-app capabilities, and mailbox scope evidence;
  • transitional Key Vault secrets with their expiry; and
  • approved exceptional non-Azure credentials.

For every item record purpose, accountable team, operational contact, environment, stable non-secret reference, callers and targets, customer scope, approval, source declaration, last use, last review, next review, and revocation procedure.

1

Reconcile declared and actual state

Owner: Platform identity

Reconcile the declared inventory against Entra, Azure, APIM, Signet, and customer onboarding state on a schedule and after material deployments.

# FICs on an application
Get-MgApplicationFederatedIdentityCredential -ApplicationId <appObjectId> |
  Select-Object Name, Issuer, Subject, Audiences

# Credentials still present on applications (expect none outside transitional or exception records)
Get-MgApplication -All -Property "id,displayName,passwordCredentials,keyCredentials" |
  Where-Object { $_.PasswordCredentials.Count -gt 0 -or $_.KeyCredentials.Count -gt 0 }
# FICs on the Runway Entra application (GitHub Actions per-environment subjects)
az ad app federated-credential list --id <runway-app-id> -o table
2

Alert on drift

Owner: Platform identity

Alert on undeclared applications, owners, credentials, FICs, redirect URIs, consents, role or RBAC assignments, identities, SAMIs on ION hosts, shared UAMI attachments, or customer tenants. Treat production portal changes as drift; investigate and reconcile approved emergency changes into automation before closing the change or incident.

3

Remove stale access

Owner: Platform identity, confirmed by the owner

Remove orphaned, stale, excessive, duplicate, expired, or unused access, including FICs whose subject UAMI no longer exists, after owner confirmation and negative testing.

Operate federated credentials

1

Monitor the 20-FIC limit

Owner: Platform identity

Every Entra application and UAMI accepts at most 20 FICs. Track the count for each access application, the hollow application, the Platform API app, and the Runway Entra application. Alert at 16. When an application approaches the limit, escalate to architecture; never share a UAMI between microservices to save credentials.

2

Monitor transitional secret expiry

Owner: SRE

Until every access application and Easy Auth host is migrated, SRE monitors the expiry of each remaining transitional secret:

Get-MgApplication -All -Property "displayName,passwordCredentials" |
  ForEach-Object {
    foreach ($c in $_.PasswordCredentials) {
      [pscustomobject]@{ App = $_.DisplayName; KeyId = $c.KeyId; Expires = $c.EndDateTime }
    }
  } | Sort-Object Expires

Alert well before expiry and track each entry against its migration in Workload identity federation or App Service authentication. Rotation of a transitional secret never adds callers or permissions. Close the item when the secret is deleted from both Key Vault and the application.

Conduct access reviews

At the documented interval and after owner, architecture, contract, or service changes:

  1. Confirm an active accountable owner and business purpose.
  2. Confirm tenancy, environment, caller, target audience, member type, role or capability, Azure RBAC resource scope, and customer scope.
  3. Confirm each FIC subject maps to exactly one live microservice UAMI or approved repository and environment.
  4. Review last-used evidence and failed-access patterns without inspecting or storing token bodies.
  5. Confirm user tokens still terminate at the BFF, APIM overrides X-Authorization (gap APIM-01 until fixed), and APIM uses its own managed identity to the backend.
  6. Confirm every microservice uses its own UAMI with no SAMI, shared UAMI, or secret fallback, and the rome auth identity has no RBAC, roles, or data access.
  7. Confirm with customer onboarding owners that mailbox scope and hollow-app assignments still match the customer’s recorded intent.
  8. Re-run representative positive and negative authorization tests.
  9. Approve continued access with the next review date, reduce it, or revoke it. Silence or an unavailable owner is not approval.

Monitor identity controls

Alert on:

  • repeated signature, issuer, time, audience, caller, tenant-allowlist, role, or capability failures;
  • capability binding failures (entra_aud, oid, or tid mismatch) at the BFF;
  • cross-customer or resource-authorization denials;
  • new consent, application credential, FIC, app-role assignment, Azure RBAC assignment, redirect URI, or owner change;
  • a client secret sign-in on an application recorded as federated-only;
  • managed-identity attachment or removal, or the rome auth identity requesting any audience other than token exchange;
  • inactive customer tenants attempting access, and ErrorAccessDenied spikes on mailbox access;
  • authorization-policy drift and direct backend ingress bypassing APIM; and
  • secrets, private keys, authorization headers, or token-like values in telemetry.

Logs contain timestamps, safe tenant, application, and workload references, route or resource, authorization decision and reason category, and correlation ID. They never contain bearer or refresh tokens, authorization codes, client assertions, secrets, private keys, capability tokens, or complete authorization headers.

Revoke access

AccessRevocation
Human ION userRemove the granting group membership or role assignment; revoke sessions when incident response requires it
Microservice workloadRemove Ion.* and Azure RBAC assignments through IaC; detach or stop the host for urgent containment
Workload into customer tenantsDelete the workload’s FIC from the access or hollow application
CI/CDDelete the environment’s FIC from the Runway Entra application and remove its deployment role assignments
One customer, Graph or MDECustomer deletes the enterprise application or revokes consent; ION disables the onboarding record
One customer, hollow app capabilityCustomer removes the role assignment; ION re-runs discovery and disables the capability
One customer, mailbox scopeCustomer removes the Exchange role assignment, scope, or mailbox tag; ION disables phishing processing
User capabilityRemove the role assignment, or remove the role from Signet’s maps for all users
Human GDAP or LighthouseThrough Customer Environment Access

Verify the previously allowed operation now fails; do not rely only on control plane state. Managed identity and customer-tenant tokens already issued remain valid until expiry (managed identity tokens are cached for up to about 24 hours), so contain incidents at the narrowest boundary that stops use immediately: disable the route, stop the host, disable the onboarding record, or ask the customer to disable the enterprise application.

Investigate an authorization incident

1

Establish the facts

Owner: Security operations

Start with correlation ID, user oid or workload principal ID, tenant, route, and time window. Open an incident and preserve audit logs.

2

Correlate across layers

Owner: Security operations and Service team

Correlate Entra sign-in and audit logs, APIM, BFF (including Signet validation), domain service, and Azure resource logs by correlation ID. For customer-tenant paths, include the customer’s sign-in logs for the enterprise application and Exchange or Azure Activity Logs where the customer provides them.

3

Classify the failure

Owner: Security operations

Determine whether the event was authentication (token, FIC, or consent), capability validation, route or field authorization, domain policy, Azure RBAC, or Exchange scope.

4

Contain and revoke first

Owner: Security operations, with the owning team

Contain at the narrowest safe boundary, then revoke application-role assignments, FICs, Azure RBAC, sessions, Teams relationships, and customer-environment access as applicable. If an exceptional or transitional credential is exposed, revoke it before any replacement; an Azure workload moves to federation and does not receive a new secret.

5

Search for propagation

Owner: Service team

Search logs and code for token propagation without copying token values into the incident. Determine whether a user token reached a downstream service, queue, storage, telemetry, Azure API, or Graph, and whether a client-supplied X-Authorization value was ever trusted.

6

Restore and record

Owner: Security operations

Validate that old access fails after relevant caches expire or are invalidated and that unaffected access remains. Correct policy or implementation through the normal reviewed path, monitor closely, and record root cause, scope, evidence, and preventive actions.

Positive validation

  • Reconciliation reports no undeclared identity object, FIC, credential, or assignment, and every item has an active owner and review date.
  • Every FIC count is below the alert threshold, and every transitional secret has a migration owner and a future expiry.
  • An approved shell path succeeds through APIM and the BFF, and the downstream call uses the BFF’s own UAMI.
  • An approved workload performs its assigned API, Azure-resource, or customer-tenant operation at the declared scope.
  • Review and alert evidence is retrievable by correlation ID without exposing a token, authorization header, secret, or private key.
  • A revocation exercise removes access within the operational objective and preserves unaffected access.

Negative validation

Verify that monitoring or scheduled control tests detect and deny:

  • wrong issuer, time, audience, caller, role, capability, inactive tenant, customer, mailbox, or resource;
  • an undeclared FIC, app-role or RBAC assignment, or production portal change;
  • a client-secret sign-in on a federated-only application;
  • a user token presented to a downstream domain service, or a client-supplied X-Authorization header;
  • a SAMI, shared UAMI, or secret fallback on an ION host;
  • stale or ownerless access after its review deadline; and
  • token-like values or complete authorization headers entering telemetry.

Exceptional non-Azure credentials

This exception applies only when a non-Azure workload or external provider cannot authenticate with federation. It never applies to an Azure workload or browser.

  1. Use OIDC federation first: if the provider issues OIDC tokens, add a FIC for its issuer and subject and stop here.
  2. Document why federation is unavailable. Obtain application owner, security, and resource owner approval with an expiry date.
  3. Create a dedicated least-privilege application. Do not reuse a shell, Platform API, access, or unrelated integration registration.
  4. Store the credential only in the approved secret manager; applications retrieve it at runtime through an approved identity. Never place it in source, images, user-visible pipeline variables, documentation, or telemetry.
  5. Configure expiry, automated rotation warning, usage monitoring, and a tested revoke-and-replace procedure.
  6. Validate the intended operation and denial of other audiences, tenants, resources, and operations.
  7. Review the exception on schedule and retire it as soon as the provider supports federation.

Planned retirement

  1. Disable new assignments and onboarding to the retiring identity, application, or role.
  2. Discover callers, FICs, consents, assignments, attached resources, active customers, Signet mappings, and cached dependencies.
  3. Migrate callers additively and run positive and negative tests.
  4. Disable the old path, monitor, then remove role and RBAC assignments, FICs, consents, Teams and customer relationships, and credentials.
  5. Detach and delete managed identities according to Managed identity; disable applications before final deletion when an audit window is required.
  6. Reconcile inventory and retain approval, deployment, test, and revocation evidence under the retention policy.
Rollback

Restore the last approved declarative revision only when it does not restore compromised or excessive access, a deleted secret, or a shared identity. Otherwise deploy a corrected least-privilege revision. In both cases, retest intended and denied paths and document the decision.

Ownership and evidence

Platform identity owns inventory, reconciliation, FICs, and the FIC budget. SRE owns transitional secret expiry monitoring. Application, workload, API, and resource owners attest purpose and least privilege. Security operations owns monitoring and incident coordination. Customer onboarding and Teams owners attest tenant-specific relationships, mailbox scope, and hollow-app capabilities. Evidence includes reconciliations, FIC counts, secret expiry reports, review decisions, alert and incident records, declarative changes, safe test results, revocation proofs, and next review dates.

Related pages

  • V3 Identity Standard
  • Identity architecture
  • Identity workflows
  • Managed identity
  • Workload identity federation
  • App Service authentication
  • Customer onboarding
  • Customer Environment Access

On this page

  • Prerequisites
  • Maintain the inventory
  • Operate federated credentials
  • Conduct access reviews
  • Monitor identity controls
  • Revoke access
  • Investigate an authorization incident
  • Positive validation
  • Negative validation
  • Exceptional non-Azure credentials
  • Planned retirement
  • Ownership and evidence
  • Related pages
PreviousCustomer Identity Onboarding
NextMailbox-Scoped Access
Edit on GitHubSecurity