Microsoft Teams Identity Workflow
Microsoft Teams is the V3 customer-collaboration boundary for incident notifications, adaptive-card actions, and analyst-to-customer conversation. Customer shared-channel participation uses Entra B2B Direct Connect (ADR-0012). Teams membership authorizes collaboration only; it does not authorize ION APIs, Signet capabilities, or customer security resources.
Actors and populations
| Population | Identity location | Collaboration access |
|---|---|---|
| Customer users | Customer home tenant | Added to the customer’s shared channel through B2B Direct Connect |
| Cyber Defender Leads | Ontinue platform directory | Added to customer channels required by the lead operating model |
| Cyber Defender Analysts | Ontinue platform directory | Added when assigned to the customer’s case and removed when no longer assigned |
| Cyber Advisors | Ontinue platform directory | Added through a separately governed advisor group for assigned customers |
| Notification publisher | Pigeon, through a dedicated Ontinue user service account | Member of the channels it publishes to; posts with delegated Graph permissions. See Delegated Teams publishing exception |
Direct Connect and guest scenarios
B2B Direct Connect is the V3 default for customer shared channels. The user keeps a home-tenant identity, no guest object is created for that user in the host tenant, and both tenants configure the cross-tenant trust required for the shared channel.
B2B Collaboration is a different mechanism. It creates a guest identity in the host tenant and applies to approved scenarios that cannot use shared channels, such as a standard or private channel or another host-tenant application that requires a guest. Guest scenarios require an explicit invitation, access review, and guest offboarding process. They must not be described or operated as Direct Connect.
A user’s presence in a Direct Connect shared channel does not prove that a guest account exists, and a guest account does not automatically grant shared-channel membership.
Tenancy and authorization boundaries
The customer shared channel is hosted in the Ontinue Teams environment and is associated with one customer collaboration context. The customer user’s home tenant remains responsible for user authentication, MFA, Conditional Access, and employment lifecycle. Ontinue controls the Team, channel, internal membership, and the accepted cross-tenant trust.
Teams and channel membership permits participation in the collaboration space. It MUST NOT be used as evidence that the user may call Customer Portal, Alya, or ION service APIs. API access requires its own token audience, tenant validation, Signet capability, and per-route authorization. Likewise, Teams membership does not grant Sentinel, Defender, Graph, Lighthouse, or Azure RBAC access.
Enforcement points
- Entra cross-tenant access settings permit only the intended B2B Direct Connect relationship and trust posture.
- Teams enforces Team and shared-channel membership.
- Ontinue groups control Lead, Analyst, and Advisor collaboration assignments.
- Alya or the owning assignment workflow adds and removes Analysts based on active case assignment.
- Graph permissions for notification publishing are the delegated permissions of Pigeon’s dedicated service account. They are not inherited from channel members, and the account is not a channel owner.
- Any adaptive-card action that invokes an ION API enters the relevant API workflow and is independently authenticated and authorized. The card’s presence in a channel is not authorization.
- When the Customer Portal runs as a Teams tab, the Bondi shell acquires its token through MSAL silently and falls back to interactive sign-in when needed. The request then follows the Customer Portal path unchanged.
Delegated Teams publishing exception
Microsoft Graph offers only the delegated ChannelMessage.Send permission for
posting channel messages; there is no application permission outside migration
scenarios. Pigeon therefore cannot publish with its UAMI. It signs in as a
dedicated Ontinue user service account with the resource owner password
credentials (ROPC) grant, and uses the delegated token to post channel messages
and replies and to create Teams meetings through /me. This is a recorded
exception in
ADR-0013 § 4.
Verified in the Pigeon code:
RopcAuthServicerequests the token from the Ontinue tenant with the Graph.defaultscope, the Teams application’s client ID and secret, and the service account’s name and password.- The credentials come from Pigeon’s configuration, which loads its Key Vault at startup.
- The token is cached for up to one hour through Pigeon’s cache client.
The controls the account must have are in the identity guidelines. They include a dedicated cloud-only account with no administrative role, minimal scopes and channel membership, Key Vault storage with rotation and expiry monitoring, a Conditional Access exclusion that covers only this account, and sign-in monitoring.
ROPC fails when the account is locked, its password expires, or Conditional Access starts requiring MFA. Notification delivery then stops. Treat a token failure as a Pigeon dependency failure and alert on it. The retry gap for Graph calls is tracked as RES-03 in application resilience.
Onboarding
- Verify that the customer tenant supports Teams shared channels and identify the customer tenant administrators and collaboration owners.
- Configure reciprocal, scoped B2B Direct Connect settings between the customer and Ontinue tenants.
- Create the customer Team or shared channel and its Ontinue-side membership control group using the approved naming and ownership standard.
- Add approved customer home-tenant users to the shared channel without creating guest accounts for the Direct Connect path.
- Add Cyber Defender Leads and the customer-assigned Advisor group. Add Analysts only when an active case assignment requires access.
- Test customer and internal access, removal, cross-customer isolation, adaptive cards, and notification delivery.
- Record owners, tenant relationship, channel identifiers in controlled configuration, review cadence, and emergency revocation contacts.
If a requirement needs B2B Collaboration instead, approve it as a guest scenario and establish guest invitation, Conditional Access, review, and removal controls before inviting users. Per-surface selection and onboarding of human access to customer environments is owned by Customer Environment Access.
Revocation and offboarding
For an individual Direct Connect user, remove shared-channel membership; the customer remains responsible for disabling the home-tenant identity. Remove an Analyst as soon as the case assignment ends and remove Advisor access when the customer relationship changes. Guest users are removed from both the collaboration surface and the host directory according to the guest lifecycle.
Customer offboarding removes external members, internal customer-scoped groups, shared-channel access, and the cross-tenant relationship when it is no longer used by any approved scenario. Disable publishing automation for the channel and verify that new messages and actions are denied before archival or deletion.
Audit and failure behavior
Audit creation and changes to cross-tenant policy, group membership, Team and channel membership, Advisor and Analyst assignment, app permission, and automated publishing. Record customer and channel context, acting identity or workload, action, result, and correlation data without copying message content into identity logs unless incident handling requires it.
A missing trust, disabled home user, removed membership, or unavailable Teams service results in denied or degraded collaboration. Do not compensate by granting a guest account, Portal role, or API role automatically. Membership automation must retry bounded transient failures, surface persistent failures, and reconcile desired membership against Teams without expanding access.