V2 Identity Workflows
These workflows apply the V2 identity architecture to user, collaboration, workload, and external-integration paths. Microsoft Entra ID authenticates each actor or workload, while the receiving application, APIM, API, or Azure resource enforces the authorization appropriate to that boundary.
Workflow catalogue
| Workflow | Population or caller | Primary trust boundary |
|---|---|---|
| Customer Portal | Customer users and approved Ontinue support users | Multi-tenant user access terminates at the Customer Portal BFF |
| Alya Workbench | Cyber Defender Analysts, Leads, and approved engineering users | Internal single-tenant user access terminates at the Alya BFF |
| Microsoft Teams | Customer users, Cyber Defenders, and Cyber Advisors | Teams shared-channel membership through B2B Direct Connect |
| Microservices | BFFs, APIs, workers, and background services | Managed identity, ION API application roles, and Azure RBAC |
| ServiceNow | ServiceNow-side integration application | Inbound Entra-authenticated access to the Ticketing API |
Rules shared by every workflow
- Authentication and authorization are separate. A valid token identifies a caller but does not grant access to a route, operation, customer, or Azure resource.
- User tokens stop at the BFF. Customer Portal user tokens terminate at the Customer Portal BFF. Alya user tokens terminate at the Alya BFF. Neither token is forwarded to downstream ION services.
- Workloads use managed identity. Every Azure-hosted BFF, API, worker, and integration component uses managed identity. A BFF or service calling another service obtains a token as its own managed identity for the target API.
- APIM authenticates each backend call. APIM validates the caller token, tenant, route, and operation role, then calls the OAuth-protected backend with a token obtained as the selected APIM user-assigned managed identity. Approved BFF routes may receive the original user token as sensitive context so that the BFF can revalidate and terminate it; domain microservices must not depend on or replay that credential.
- Use the authorization system owned by the resource. API roles and scopes authorize API operations; Azure RBAC authorizes Azure resources; Teams membership authorizes collaboration. These grants are not interchangeable.
- Tenant context is enforced. Customer-facing requests must resolve to an active onboarded customer and may access only that customer’s context.
- Failures are closed and attributable. Missing, expired, incorrectly targeted, untrusted, or insufficiently authorized tokens are rejected. Logs record the caller type, tenant or workload, route, decision, and correlation context without recording bearer tokens or unnecessary personal data.
Integration-flow ownership
Identity-bearing flows outside the five primary workflows remain governed by this architecture, but their functional design belongs to the capability that owns the operation.
| Flow | Identity treatment | Owning documentation |
|---|---|---|
| Cyber Advisor access to a customer | Separate internal application boundary and explicit advisor role granting access to every active onboarded customer; user token terminates at the shared Customer Portal BFF | Customer Portal |
| Power BI Embedded reporting | Purpose-specific reporting application and customer-scoped authorization; Azure-hosted components use managed identity | Reporting and dashboards and Applications and authorization |
| Alya real-time/SignalR access | Alya user access remains bounded by the Alya application; Azure-hosted hubs and services use managed identity | Alya Workbench and Microservices |
| Archer, playbooks, Sentinel, Defender/MDE, and customer Graph operations | Workload identity on the ION side plus the customer-approved permission mechanism for the target security resource | Customer Environment Access and Automation |
| Phoenix or Graph callbacks and Teams notifications | Dedicated callback validation and Ontinue-managed subscription identity; not a Portal user-token flow | Communication Security |
| Other inbound external API callers | Purpose-specific Entra application identity, audience, role, owner, and revocation path; ServiceNow is the documented example | ServiceNow and Applications and authorization |
Lifecycle ownership
Every application registration, enterprise application, managed identity, role or scope catalogue, Azure RBAC assignment, cross-tenant trust, and external integration has an owning team. Onboarding records the owner, environment, purpose, permitted audiences, required grants, and revocation procedure. Offboarding removes grants and trust in the reverse order and verifies that access has stopped.
Role values and assignments are maintained as controlled configuration. These pages describe permission families and enforcement responsibilities rather than publishing environment identifiers or role-object inventories.