ADR-0012 — Customer collaboration via Teams shared channels (B2B Direct Connect)
Context
ION’s customer-facing collaboration surface is where the MXDR value proposition becomes visible to the customer: incident notifications, adaptive cards for pre-approved actions, analyst-to-customer conversation, and — from V3 onwards — the embedded ION Portal (React SPA + dashboards) as a Teams Tab.
Every customer already has Microsoft Teams (it is a hard prerequisite of being on Microsoft 365/Sentinel/Defender in the first place). The question is how ION exposes a collaboration space that:
- Puts the customer’s SOC/security users, Ontinue’s Cyber Defenders, and Ontinue’s Cyber Advisors in the same channel.
- Preserves each user’s home-tenant identity — no shadow accounts, no password provisioning, no guest-account lifecycle.
- Lets ION ship an interactive UI (Portal SPA) that the customer can open without leaving Teams and without a separate login.
- Scales cleanly to hundreds → thousands of customers without linear operational tax on Ontinue IT or the customer’s IT.
Two Entra collaboration modes are available:
- B2B Collaboration — invite an external user, which creates a guest account in the host tenant. Guest identities are provisioned per user, visible in the host directory, and must be lifecycled.
- B2B Direct Connect — a tenant-to-tenant trust that lets external users participate in Teams shared channels using their home-tenant identity. No guest account is created in the host tenant.
Teams shared channels are the only Teams surface that supports B2B Direct Connect; standard channels require guest accounts.
Forces / Drivers
- principles/README.md § 22 Least privilege — customer users must not accumulate host-tenant identities carrying implicit host-tenant permissions.
- principles/README.md § 23 Blast-radius containment — a customer-tenant identity compromise must stay in the customer tenant; the host tenant must not carry a shadow-account population as attack surface.
- principles/README.md § 21 Azure-native managed services first — collaboration and identity federation must live inside what Entra + Teams natively support.
- principles/README.md § 18 Data residency & compliance are design constraints — customer users are governed by their own tenant’s compliance controls; nothing about the collaboration surface may change that.
- Customer-onboarding friction — the number of steps a customer’s admin must perform on Day 0 is a hard commercial constraint. Every additional consent / invite / password / MFA-provisioning step reduces conversion.
- Tenant topology established in ADR-0009 —
ontinue.comis the platform directory; customer users are in customer tenants. - Portal delivery model — the V3 ION Portal is a React SPA. If it lives inside Teams as a Tab, customer users get SSO to the Portal API without touching a browser login flow.
Decision
Adopt Teams shared channels backed by B2B Direct Connect as the customer-collaboration surface.
Topology.
- The shared channel is hosted in the
ontinue.comtenant, within a per-customer Team namedION - <Customer name>. - The customer’s home tenant enters a B2B Direct Connect trust
relationship with
ontinue.com(mutual, scoped by policy). - An Entra security group in
ontinue.com—ION - <Customer name>— is the membership control point for Ontinue-side membership of that customer’s channel. Customer user objects are not created inontinue.comand customer users are not members of this group; they are added directly to the shared channel as conversation members carrying their home-tenant ID, which the Direct Connect trust allows. - Ontinue Cyber Defender Leads are added to every customer channel at onboarding time. Cyber Defender Analysts are added dynamically by the Alya Workbench when they are assigned to a case for that customer.
- Cyber Advisors access the channel via a separate advisor-scoped security group; they act on behalf of the customer.
ION Portal delivery.
- The ION Portal SPA is installed as a Teams Tab in the customer’s shared channel (Teams-Tab-SSO pattern).
- Access is authenticated by the multi-tenant Entra app
azsp-ontinue-rome-idm-ion-portal-prd-01, which the customer admin consents to once at onboarding. Tokens carryIon.*app-role claims (Ion.Portal.Read/Ion.Portal.ReadWriteand the resource-scoped descendants — seeIdentity Management- Customer Portal (Teams).md). - APIM validates
aud,tid(against the tenant-subscription list in Pratt), androlesper request. - Advisor / engineer OBO access uses a distinct app registration
(
azsp-ontinue-rome-idm-ion-portal-advisors-prd-01, single-tenant inontinue.com) so that APIM can apply a stricter policy — validate advisor role + validate advisor-to-customer relationship — without contaminating the customer-facing app.
Notification delivery. Adaptive-card notifications, incident summaries, and analyst-to-customer conversation flow into the same shared channel via the Pigeon system (Communication Manager). Pigeon publishes as a dedicated Ontinue service account with delegated Graph permissions, because Graph has no application permission for sending channel messages (the recorded exception in ADR-0013 § 4).
Known constraint (Teams SDK). At V3 launch there is a Teams JS SDK bug where the SDK fails to obtain an access token for external users in a shared channel (microsoft-teams-library-js#1406). Workaround: fall back to MSAL silent authentication in-tab when the SDK path fails. Documented as a Portal-side pattern; consequence, not a platform-architecture defect.
Alternatives Considered
Option A — B2B Collaboration (guest invitations) into a standard Teams channel
- Rejected. Grounds:
- (decisive) Guest account per customer user in
ontinue.com. At the capacity model’s 1000-customer / 20-UI-users envelope this is ~20 000 guest identities Ontinue must lifecycle (invite, MFA enrolment, deactivation on customer HR events, periodic access reviews). Fails § 22 and § 23 — host tenant accumulates a shadow-account population equal in size to the customer user base. - Customer-side identity governance loses control. When the
customer disables a user in their tenant, the guest account in
ontinue.comcontinues to exist until Ontinue reaps it. - Onboarding UX regression — each customer user must accept a guest invitation and go through a first-run MFA flow in the host tenant, on top of what they already have in their home tenant.
- (decisive) Guest account per customer user in
Option B — Standalone ION Portal (outside Teams)
- Rejected. Grounds:
- (decisive) Loses the “collaboration + workspace” surface. Customers already live in Teams for incident conversation; forcing them to a separate web app for the workspace fragments the workflow and drops adoption. Every V2 lesson from Voyager/Tiberium reinforced that customer collaboration must land in Teams.
- Notifications and Portal split identity flows. Two SSO surfaces to explain to the customer’s IT, two token validation stories in APIM, two consent flows.
- Does not eliminate the Direct-Connect need anyway — analysts and advisors still need a shared collaboration space with the customer.
Option C — Email + adaptive cards only (no interactive Portal)
- Rejected. Grounds:
- Does not meet the V3 requirement of an embedded customer-facing dashboard and workspace.
- Email-only signalling loses the bidirectional adaptive-card action surface Pigeon depends on.
Option D — Provision customer users directly in ontinue.com (managed identities per customer user)
- Rejected. Grounds:
- Structural violation of tenant-topology in ADR-0009. Customer users are governed by their tenant, not Ontinue’s.
- Password / MFA / lifecycle overhead scales linearly with the total customer user population.
- Compliance regressions across the entire customer base (data-residency, joiner/mover/leaver, audit).
Rationale
Direct Connect is the only mode that meets all the forces at once. The
customer user keeps their home-tenant identity — their tenant’s conditional
access, MFA, and compliance controls apply. Ontinue’s tenant carries no
shadow accounts. The Portal SPA rides on top as a Teams Tab and gets SSO
for free via the standard azsp-ontinue-rome-idm-ion-portal-prd-01
multi-tenant app — one consent, one token, Ion.* role claims.
Advisor OBO on a separate app registration is the important blast-radius decision. The customer-consent app must be visible to the customer (they consented to it); if we bundled advisor impersonation capabilities into the same app, the customer’s own users would carry roles that let them act as impersonators. Splitting the app is the same pattern as ADR-0010 — one app per intent shape, one blast-radius per identity.
The V2/V3 shift here is subtle but real: V2 depended more heavily on the Cyber Defender being present in Teams; V3 promotes the Portal Tab from a “nice extra” to the primary customer workspace on top of the same shared- channel substrate. The substrate did not need to change; the artefacts riding on it did.
Consequences
Positive
- Zero customer-user identity provisioning in
ontinue.com. - Customer conditional-access, MFA, and compliance policies apply to every customer interaction with ION.
- Single-consent Portal onboarding — one admin consent unlocks the SPA, the API, and the Tab installation.
- Portal + notifications share one identity surface; APIM has one validation story for customer users and a distinct one for advisors.
- Advisor OBO isolated to its own app; customer users cannot inherit advisor capability.
Negative / Trade-offs
- B2B Direct Connect requires reciprocal tenant policy configuration.
The customer’s Entra admin must enable Direct Connect and add
ontinue.comto their inbound cross-tenant access settings as a customer onboarding step (the onboarding script does not configure it); Ontinue maintains the reciprocal settings inontinue.com. This is a real onboarding step (though it is a single tenant-wide toggle, not per-user). - Shared channels have Teams feature-parity gaps vs. standard channels (some Graph APIs behave differently; some Teams apps are incompatible). ION must design collaboration features against the shared-channel feature set specifically.
- Teams SDK external-user token bug (issue #1406) forces the MSAL-silent fallback path — a defect ION carries until upstream fix.
- Two Portal app registrations to maintain (customer + advisor). Small cost, but a permanent one.
- Dynamic channel membership by Alya (analyst-per-case addition) and customer-member addition to the shared channel are Graph API surfaces Alya must own reliably; a Graph throttling or auth incident there degrades case-handoff latency.
WAF Pillar Impact
- Operational Excellence (primary) — customer user identity is not provisioned by Ontinue; the collaboration surface is a standing Teams feature, not a bespoke system to run.
- Security — home-tenant identity means home-tenant governance; advisor app isolation contains OBO blast radius.
- Reliability — depends on Teams + Graph availability (same dependency the customer already accepts by being on M365).
- Performance Efficiency — Graph API rate limits on channel membership + notification publishing are load-bearing at 1000-cust scale; sharding + backoff are Pigeon’s responsibility.
- Cost Optimization — no per-user identity licence cost in
ontinue.com; Teams entitlement lives with the customer.
Previous approach (V2)
The V2 substrate — one shared channel per customer, Cyber Defender Leads onboarded manually, adaptive cards as the primary interaction surface — is retained. What V3 adds on top is the ION Portal Tab as the customer’s workspace and a stricter APIM policy story around role-claim validation (customer app vs. advisor OBO app). The Direct Connect + shared channel substrate itself does not change.
Amendments
- 2026-10-14 — Membership model corrected. The
ION - <Customer name>group inontinue.comgoverns Ontinue-side membership only (Leads at onboarding, Analysts added and removed by Alya, Advisors through the advisor-scoped group). Customer users are not group members; they are added directly to the shared channel asaadUserConversationMemberentries with their hometenantId, so no directory object is created for them inontinue.com. Customer-side B2B Direct Connect settings are a customer administrator onboarding step. - 2026-10-15 — Notification identity corrected. Notification delivery
previously cited Graph application permissions and Managed Identity.
Graph offers only the delegated
ChannelMessage.Sendpermission for posting channel messages. Pigeon therefore publishes as a dedicated service account through ROPC. This is recorded as an exception in ADR-0013 § 4.
References
- references/Identity Management- Microsoft Teams.md — user personas + prerequisites.
- references/Identity Management- Customer Portal (Teams).md — primary source: Tab SSO, roles/permissions, token validation, advisor OBO rationale.
- references/Security Architecture- Teams Notification.md.
- Teams shared channels — build and test.
- Teams Tab SSO overview.
- B2B Direct Connect overview.
- Teams JS SDK issue #1406 — external-user token bug + workaround.
- ADR-0009, ADR-0010, ADR-0011.
- principles/README.md §§ 18, 21, 22, 23.
Related ADRs
- ADR-0009 — tenant topology and Entra as platform IdP; this ADR is the customer-collaboration application of that topology.
- ADR-0010 — same “one app per intent shape” pattern applied here to Portal customer vs. Advisor OBO.
- ADR-0013 — service-to-service auth; § 4 records Pigeon’s delegated service-account exception for publishing into shared channels.
- ADR-0014 — Shared APIM topology; is the enforcement point for the Portal token validation described here.