Teams B2B Direct Connect implementation
These steps establish, operate, and remove the customer shared channel. Read the architecture and the Teams identity workflow first.
Establish the trust
Configure customer-side B2B Direct Connect
Owner: Customer Entra administrator
The onboarding script does not configure this. The customer administrator, in
Microsoft Entra admin center > External Identities > Cross-tenant access
settings, adds ontinue.com as an organisation and:
- Enables B2B Direct Connect inbound and outbound for the users and groups who will join the channel (scope to a group where possible).
- Restricts applications to Office 365 or Microsoft Teams.
- Optionally trusts MFA from
ontinue.comfor inbound access.
The Cyber Advisor records the date and the scoped group on the onboarding record.
Configure reciprocal settings in ontinue.com
Owner: Ontinue identity team
Add the customer tenant as an organisation in ontinue.com cross-tenant access
settings with B2B Direct Connect inbound and outbound enabled, scoped to Teams.
Use the per-organisation entry; do not widen the default settings to all tenants.
Create the collaboration space
Create the Team, shared channel, and group
Owner: Ontinue collaboration owner
- Team:
ION - <Customer name>, owned by Ontinue service accounts or groups, not individual analysts. - One shared channel for the customer. Standard and private channels do not support B2B Direct Connect.
- Group:
ION - <Customer name>inontinue.comfor Ontinue-side membership. - Record team ID, channel ID, and group ID on the onboarding record. Workloads read them from there.
Add Ontinue members
Owner: Ontinue collaboration owner
Add the Cyber Defender Leads at onboarding and grant the customer’s advisor-scoped group access. Analysts are not added here; Alya adds them per case.
Add customer members
Owner: Alya, from the approved customer user list
Add each approved customer user as an aadUserConversationMember with their home
tenantId (see the request shape).
The workload uses ChannelMember.ReadWrite.All application permission through its
own managed identity.
Operate
Wire notification publishing
Owner: Pigeon service owner
Configure Pigeon with the channel identifiers from the onboarding record and its managed identity’s approved Teams Graph application permissions. Publish a test adaptive card and verify that a card action reaches the ION API with its own token.
Maintain dynamic Analyst membership
Owner: Alya service owner
- Add on case assignment, remove on unassignment or case closure.
- Reconcile desired against actual membership on a schedule and on startup.
- Respect
Retry-Afteron429and503; queue membership changes per tenant. - Emit audit events with customer, channel, acting workload, target user, action, and result. Do not log message content.
Validate
Owner: Cyber Advisor and Ontinue collaboration owner
- A customer user signs in from their home tenant and sees only their customer’s
channel, and
ontinue.comhas no guest object for them. - A Lead and an assigned Analyst can post; an unassigned Analyst cannot see the channel.
- A Pigeon test card arrives and its action is authorized independently.
- The Portal tab loads for an external user through the MSAL silent fallback.
- Removing a test customer member and a test Analyst takes effect.
Offboard
Remove the collaboration space
Owner: Ontinue collaboration owner with customer administrator
- Disable Pigeon publishing for the customer and confirm new messages fail.
- Remove external members and the Ontinue-side group membership.
- Archive the Team according to the retention policy.
- Remove the customer organisation from
ontinue.comcross-tenant settings if no other approved scenario uses it. - Ask the customer to remove
ontinue.comfrom their B2B Direct Connect settings.