Failure mode analysis
This page walks each T0 and T1 flow from the flow catalogue end to end and records what can fail, how far the failure spreads, how ION detects it, and what prevents or repairs it. It answers the Well-Architected checklist item RE:03 Perform failure mode analysis.
How this page fits with the other catalogues
The FMA is organized by flow. The detailed failure modes per component already exist, and this page links them instead of repeating them.
| Catalogue | Scope |
|---|---|
| Application failure catalogue | Failures inside service code: poison messages, duplicates, swallowed exceptions |
| Front Door failure modes and Application Gateway failure modes | The edge |
| DR resource pages | Every Azure resource type: zone loss, deletion, corruption, throttling |
| DR scenario taxonomy | The nine platform-level disaster scenarios |
Method
Every row has these fields:
| Field | Meaning |
|---|---|
| Failure mode | What breaks |
| Effect and blast radius | What the flow loses, and whether one customer, one flow, or the platform is hit |
| Detection | The alert or signal that finds it. “None” is a gap |
| Preventive | What stops it from happening or from spreading |
| Reactive | What restores service. A runbook, a DR procedure, or an automatic platform behaviour |
| Severity | HIGH, MEDIUM, or LOW impact if not mitigated |
Blast radius uses three levels:
- Customer: one customer or one workspace;
- Flow: every customer, one flow;
- Platform: more than one flow.
Runbooks are in the mitigation catalogue. SRE runs them at L1 and escalates to the owner team.
FL-01 Incident-to-ticket pipeline
T0. The step numbers match the FL-01 diagram.
| Step | Failure mode | Effect and blast radius | Detection | Preventive | Reactive | Severity |
|---|---|---|---|---|---|---|
| 1, 2 | ION automation rule in the customer’s Sentinel fails, is disabled, or loses permission | Incidents never reach ION. Customer | None automated (FMA-01) | Onboarding validation of the rule and permissions | ION Automation Rule Failure, then Incidents Rerun (per Workspace) | HIGH |
| 1 | Sentinel or Defender XDR outage | No new incidents for affected customers. Flow | None automated (FMA-01). Azure Service Health covers ION subscriptions, not customer workspaces | None in ION | Backfill with Incidents Rerun after the provider recovers | HIGH |
| 3 | Ingress topic or the shared Service Bus namespace unavailable | Ingestion stops, and so do FL-02, FL-05, FL-06, and FL-07. Platform | Resource Health and Service Health alerts | Zone-redundant namespace (Service Bus DR) | Microsoft-managed. Rerun incidents for the outage window | HIGH |
| 4 | Poison or invalid message in Filtering and Scoping | With sessions, one workspace is blocked until the message dead-letters. Customer | Dead-letter alert, incomplete (RES-06) | Schema validation, immediate dead-letter | DLQ reprocessing, listed in the mitigation catalogue | MEDIUM |
| 5 | Duplicate command on the commands topic | Duplicate events. Customer | None | Idempotent append. Duplicate detection on the topic is missing (RES-04) | Replay or repair | HIGH |
| 6 | Cosmos DB throttling (429) on the incidents event store | Writes slow down and freshness breaches PERF-4. Flow | Cosmos DB alerts in boundedctx-incidents | Autoscale RU/s. app_scale_limit 25 caps concurrency | Raise RU/s. Enable degraded-mode to shed T2 work | MEDIUM |
| 6 | Logical corruption or a bad writer | Wrong incident state. Flow | Post-deployment error rate. Otherwise found by people | Slot deployment, tests | Swap back. PITR, validate, replay | HIGH |
| 7 | Change feed publisher swallows an exception | Events are stored but not published. Projections, tickets, and escalations go stale silently. Flow | None: no publish-failure or lag alert (RES-01, RES-13) | Rethrow with a retry policy (RES-01) | Replay | HIGH |
| 8a | Azure SQL projection unavailable, for example a zone loss | Alya views fail. Incident writes continue. Flow | SQL alerts | Zone redundancy is missing (DR-04) | Projection catch-up from the change feed | HIGH |
| 8b | Sentinel synchronization fails | Sentinel state diverges from ION. Customer or Flow | Not documented | Service Bus redelivery | Sync between Sentinel and SNow-Alya | MEDIUM |
| 8c | Investigation event store corrupted | Investigation state lost back to the last 4-hour snapshot. Flow | Found by people | Continuous backup is missing (DR-01) | Microsoft support restore of the Periodic backup | HIGH |
| 10b to 12 | ServiceNow unavailable or rejecting calls | Tickets are not created or updated, and PatchTicketCommand messages redeliver, then dead-letter. Flow | Ticket Creation Latency alert. See “Tickets delayed” in the mitigation catalogue | Service Bus buffering. Message TTL P7D | DLQ reprocessing after ServiceNow recovers | HIGH |
| 12 | Ticket exceeds the ServiceNow maximum size | One ticket stops syncing. Customer | Alert exists | None | Ticket Exceeds ServiceNow Max Size | LOW |
| 10b to 14 | Tickets event store missing from the inventory | Backup and zone redundancy are unknown. Flow | Not applicable | Locate and confirm (DR-02) | Unknown until DR-02 closes | HIGH |
| All | Incident spike, such as the UC-4 and UC-5 scenarios | Backlog builds and freshness breaches. Flow | Spike runbook trigger | Scale limits, Service Bus buffering | Spike in Incidents Process | MEDIUM |
| All | Faulty release | Error rate rises. Flow | Post-deployment error rate | Slot deployment, PR gate | Swap back, then Function App Restart if needed | HIGH |
FL-02 Escalation and customer notification
T0. Pigeon delivers through email, Teams (Graph), and voice (Twilio).
| Failure mode | Effect and blast radius | Detection | Preventive | Reactive | Severity |
|---|---|---|---|---|---|
| Escalation handler swallows an exception and completes the message | The escalation is lost. Customer | “Message Sent To Customer Failure” alert, when the failure is logged | Throw on transient failures (RES-02) | Escalation Failure | HIGH |
| Graph throttling or outage | Teams messages fail with no retry and no fallback. Flow | Same alert | Graph retry handler (RES-03), circuit breaker (RES-17), channel fallback (RES-18) | GraphAPI Failure: post manually | HIGH |
| Delegated Teams service account locked, password expired, or blocked by Conditional Access | Every Teams post fails. Flow | Same alert | Account controls in the identity guidelines | Restore the account, then resend. See the Teams identity workflow | HIGH |
| Twilio call failure | Voice escalation fails. Customer or Flow | Twilio Phone Call Error alert | Channel fallback is missing (RES-18) | Twilio Outbound Phone Call Failed | HIGH |
| Invalid customer email address | Email fails. Customer | Alert exists | Validation at onboarding | Invalid Customer Email Address | MEDIUM |
| Rules of engagement or escalation matrix wrong or missing | Wrong contact, or none. Customer | Missing Customer Operations Manager alert | Configuration checks | RoE / Escalation Failures | HIGH |
| Duplicate delivery | The customer is notified twice. Customer | None | Send-side idempotency key (RES-10) | None needed | MEDIUM |
Zone loss on the P0v3 plan | Pigeon capacity is reduced or lost. Flow | Resource Health | Zone-redundant plan (DR-11) | Microsoft-managed | MEDIUM |
FL-03 Alya analyst workbench
T0. The edge failure modes are on the Front Door and Application Gateway pages. This table keeps the ones that decide the flow’s outcome.
| Failure mode | Effect and blast radius | Detection | Preventive | Reactive | Severity |
|---|---|---|---|---|---|
| Front Door global outage | Every portal is unreachable. Platform | Front Door health and Service Health alerts | None in ION | Manual bypass, FrontDoor Outage and Alya Failover | HIGH |
| Application Gateway failure | HTTP fails over automatically. Live updates stop. Flow | Origin health alerts | Priority-2 origins | Automatic for HTTP. Live updates resume when the gateway returns. Users refresh in the meantime (no polling fallback, RT-02) | MEDIUM |
| APIM zone loss | Every API call fails. Platform | APIM alerts | Zone redundancy is missing (DR-03) | Wait for Microsoft | HIGH |
| Signet unavailable | Micro-frontends cannot authorize users. Platform | Not documented (FMA-03) | Not documented (FMA-03) | Redeploy | HIGH |
| Entra ID outage | New sign-ins fail. Existing sessions continue until tokens expire. Platform | Service Health | None in ION | External dependency outages | HIGH |
| Shell SignalR unavailable | Live updates stop. Flow, degraded | SignalR alerts | None. The MFE REST polling fallback is a directive that is not implemented (RT-02) | Automatic reconnect, then MFEs re-subscribe and catch up over REST | LOW |
| Projection lag | Analysts see stale data. Flow | No lag alert (RES-13) | Change-feed scaling | Replay | MEDIUM |
| Faulty micro-frontend release | One micro-frontend fails. The shell and the others keep working. Flow | Post-deployment checks | Independent MFE deployment | Redeploy the previous version | MEDIUM |
T1 flows
T1 flows are analysed at a coarser grain. The full per-step analysis follows their application resilience assessment (FMA-04).
| Flow | Dominant failure mode | Blast radius | Detection | Preventive | Reactive |
|---|---|---|---|---|---|
| FL-04 Customer portal | APIM or Bondi BFF unavailable | Flow | APIM and App Service alerts | Shared edge redundancy | Customers use FL-02 channels |
| FL-05 Ticket sync and replies | Graph subscription removed or missed, so Teams replies are lost | Customer | None: recreation failures are swallowed (RES-19) | Lifecycle handling | Recreate through the Phoenix admin API |
| FL-05 Ticket sync and replies | ServiceNow events delayed | Flow | Ticket Creation Latency alert | Service Bus buffering | Sync between Sentinel and SNow-Alya |
| FL-06 Investigation automation | Temporal cluster or its MySQL store down | Flow | Automation Workflow Failure alert | Workflow state persisted in MySQL | Temporal Skill Run Failure |
| FL-07 Response actions and SOAR | Customer revokes the RBAC assignment or the SP | Customer | Action failure telemetry | Validation of the assignment | Customer re-grants. Analyst acts in the customer console |
| FL-08 Operational-data access | Primary storage region down | Flow | Front Door origin health | RA-GZRS and Front Door priority-2 origin | Automatic failover to the secondary |
Cross-component failures
These failures cross flow boundaries. They are where the blast radius is largest.
| Failure | Flows hit | Why it spreads | Preventive | Reactive |
|---|---|---|---|---|
| Shared Service Bus namespace throttled or unavailable | FL-01, FL-02, FL-05, FL-06, FL-07 | One namespace carries every asynchronous flow (ADR-0008) | Zone redundancy, per-entity limits | Microsoft-managed. Rerun and drain afterwards |
| Shared APIM unavailable | FL-03, FL-04, FL-09 | One APIM instance for every portal (ADR-0015) | Zone redundancy (DR-03) | Wait for Microsoft |
| Entra ID outage | Every flow | User sign-in and managed-identity tokens | Token caching in the SDKs | Avoid restarts that drop cached tokens |
| Key Vault or App Configuration unavailable | Every flow, at start-up and refresh | Settings and secrets are read at start-up | Soft delete, purge protection (DR-13, DR-15) | Key Vault, App Configuration |
| Retry storm after a dependency recovers | The flows behind that dependency | Unbounded retries amplify load on Cosmos DB, ServiceNow, or Graph | Bounded retries, scale limits. No circuit breakers yet (RES-17) | Pause consumers, drain at a controlled rate |
Defect in a shared Ontinue.Ion.* library | Every service that takes the new version | The same retry, timeout, and DLQ code is in every service (RES-21) | Library tests, staged adoption | Pin the previous version and redeploy |
| Faulty hub change to Front Door or Application Gateway | Every portal | One hub serves every route | Hub regression suite | Revert the Terraform change |
| Switzerland North region outage | Every flow except FL-08 | Single region | Accepted risk in ADR-0017, registered as TO-01 | Region outage procedure |
External dependency map
ION cannot recover an external dependency. It can only detect the outage, degrade in a controlled way (REL-3), and catch up afterwards.
| Dependency | Flows | Published SLA | Detection in ION | Degraded behaviour (REL-3) | ION owner |
|---|---|---|---|---|---|
| Microsoft Sentinel | FL-01, FL-05, FL-07 | 99.9% (Inferred) | None automated for missing incidents (FMA-01) | No new incidents. In-flight work continues. Synchronization writes queue and retry | Incidents team |
| Defender XDR | FL-01, FL-07 | Microsoft 365 SLA (Inferred) | Action failure telemetry | Response actions queue and retry. Analysts act in the customer console | Watchtower (Archer) |
| Entra ID | Every flow | 99.99% (Inferred) | Azure Service Health | Issued tokens stay valid until expiry. New sign-ins fail | CPE |
| ServiceNow | FL-01, FL-05 | Not recorded (FMA-02) | Ticket Creation Latency alert | Ticket commands queue in Service Bus, then dead-letter. Analysts work in ServiceNow | Tickets team |
| Microsoft Graph and Teams | FL-02, FL-05 | Teams under the Microsoft 365 SLA, 99.9% (Inferred). No separate Graph SLA | Message Sent To Customer Failure alert | No retry and no fallback today (RES-03, RES-18). SRE posts manually per the GraphAPI Failure runbook | Pigeon team, Phoenix team |
| Twilio | FL-02 | Not recorded (FMA-02) | Twilio Phone Call Error alert | Voice escalation fails. No fallback channel (RES-18) | Pigeon team |
| AI provider | FL-10 | Not recorded (FMA-02) | Not documented (FMA-05) | Shed with degraded-mode. It MUST NOT block a T0 or T1 flow | ION IQ team |
GitHub, Runway, and Microsoft Teams as the war-room channel are covered in the DR external dependency table.
Gaps
| ID | Severity | Gap | Fix | Owner |
|---|---|---|---|---|
| FMA-01 | HIGH | Missing incidents are not detected. A failed automation rule in a customer’s Sentinel, or a Sentinel outage, produces silence, and nothing alerts on silence | An ingestion-volume anomaly alert per workspace, with a business-hours baseline, routed to SRE | Incidents team, SRE |
| FMA-02 | MEDIUM | Contractual SLAs for ServiceNow, Twilio, and the AI provider are not recorded, and the Microsoft values are Inferred | Record each SLA and its source on this page | Owning teams |
| FMA-03 | MEDIUM | Signet is T0, but its failure modes, health alert, and redundancy are not documented | Assess Signet against the ION standard and add its rows here | Signet owners |
| FMA-04 | LOW | T1 flows are analysed per flow, not per step | Complete the per-step analysis after each T1 service’s resilience assessment | Owning teams |
| FMA-05 | LOW | AI provider failure detection and the guarantee that FL-10 cannot block FL-06 are not documented | Document the timeout and shed behaviour of ION IQ calls | ION IQ team |
| FMA-06 | MEDIUM | A ServiceNow outage longer than the redelivery budget dead-letters every ticket command. The recovery has not been rehearsed | Rehearse DLQ reprocessing for a long ServiceNow outage in gma (see reliability testing) | Tickets team, SRE |
Gaps that are already in another register are referenced by ID, not repeated: RES-01 to RES-21 in application resilience and DR-01 to DR-23 in the DR gap register.