Configuring B2B Direct Connect
Earn 25 points (50 with Pro) in two steps
- ① Read through the lesson — each section gets a ✓ as you scroll through it.
- ② When every section has a ✓, tap Complete lesson.
0 of 9 read · keep scrolling
✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro
Configuring and Managing B2B Direct Connect in Microsoft Teams
Introduction: The Evolution of External Collaboration
In the modern digital workplace, organizations rarely operate in total isolation. Whether you are working with a long-term partner, a vendor, or a client, the ability to collaborate effectively across organizational boundaries is a critical business requirement. For years, the primary method for this was guest access, which required users to switch tenants within their Teams client, manage multiple identities, and accept the overhead of guest account lifecycles. Microsoft introduced B2B Direct Connect to fundamentally change this paradigm.
B2B Direct Connect is a feature of Microsoft Entra ID (formerly Azure Active Directory) External Identities that allows for a "two-way trust" relationship between organizations. Unlike guest access, which requires an external user to be invited into your tenant as a guest object, B2B Direct Connect allows users from another organization to use their own credentials to access resources in your tenant, and vice versa. It is primarily used for Teams Shared Channels, enabling users to participate in chats and meetings without ever leaving their own home tenant.
This lesson explores why B2B Direct Connect is the preferred method for high-friction, long-term professional relationships. We will walk through the architecture, the configuration steps in the Microsoft Entra admin center, the security implications, and the best practices for maintaining a secure and productive environment.
Not read yet
Understanding the Architecture of B2B Direct Connect
To understand B2B Direct Connect, you must first distinguish it from the traditional "Guest Access" model. In the legacy model, when you add an external person to a team, they are assigned a guest account in your directory. They must sign out of their home tenant and sign into yours to see the resources. This creates "identity sprawl," where the external user has an account in every organization they work with.
B2B Direct Connect uses the underlying cross-tenant access settings in Microsoft Entra ID. When configured, it establishes a federated trust relationship. When a user from Organization A attempts to access a shared channel in Organization B, the identity provider for Organization A validates the user’s identity. Organization B then accepts this authentication based on the trust policy established between the two organizations.
Key Benefits of the B2B Direct Connect Model
- No Tenant Switching: Users stay in their home environment. They receive notifications and see shared channels directly alongside their internal channels.
- Identity Sovereignty: The home organization maintains full control over the user’s identity. If a user leaves their company, their access is automatically revoked when their home account is disabled.
- Reduced Administrative Overhead: You do not need to manage guest accounts, password resets, or lifecycle policies for external users who are part of a B2B Direct Connect relationship.
- Improved Security Posture: Because the home organization manages the identity, you can rely on their conditional access policies (like multi-factor authentication) while still enforcing your own on the resource side.
Callout: B2B Direct Connect vs. Guest Access It is important to realize that these two features are not mutually exclusive; they serve different purposes. Use Guest Access for quick, temporary collaboration where you need to provide access to files, apps, or entire teams. Use B2B Direct Connect for deep, long-term collaboration where you want to provide a friction-free experience within a specific Shared Channel.
Not read yet
Prerequisites for Implementation
Before you begin configuring B2B Direct Connect, ensure your environment meets the necessary licensing and technical requirements. Microsoft Entra ID P1 or P2 licenses are generally required for the organizations involved to utilize the full range of cross-tenant access settings.
- Administrative Privileges: You must be a Global Administrator or a Security Administrator in the Microsoft Entra admin center.
- Microsoft Teams Shared Channels: Since B2B Direct Connect is the backbone of Shared Channels, ensure that Shared Channels are enabled in your Teams admin center policies.
- Identity Alignment: Both organizations must be using Microsoft Entra ID. This feature does not support federation with non-Azure AD identity providers directly.
- Policy Coordination: Both organizations must configure their cross-tenant access settings to trust each other. If Organization A allows access to Organization B, but Organization B has not reciprocated, the connection will fail.
Not read yet
Step-by-Step Configuration Guide
Configuring B2B Direct Connect involves a two-part process: defining the inbound access settings (what external users can do in your tenant) and the outbound access settings (what your users can do in external tenants).
Step 1: Accessing Cross-Tenant Access Settings
- Sign in to the Microsoft Entra admin center.
- Navigate to External identities in the left-hand menu.
- Select Cross-tenant access settings.
- You will see a list of organizations. To add a new partner, click Add organization and enter the Tenant ID or domain name of the partner organization.
Step 2: Configuring Inbound Access
Once the organization is added, click on the Inbound access link for that organization.
- Go to the B2B direct connect tab.
- Select Customize settings.
- Choose Allow access for both Users and Groups. This allows you to select specific internal users who are permitted to join external shared channels or allow external users to join your shared channels.
- You can choose to allow "All users" or restrict it to specific security groups. Restricting to security groups is a best practice for organizations with strict compliance requirements.
Step 3: Configuring Outbound Access
Similarly, click on the Outbound access link for the same organization.
- Navigate to the B2B direct connect tab.
- Select Customize settings.
- Set the access to Allow access for users and groups.
- This setting dictates whether your users are permitted to participate in shared channels hosted in that partner's tenant.
Step 4: Configuring Trust Settings
Within the same menu, you will see a Trust settings section. This is perhaps the most critical part of the configuration.
- Multi-factor authentication (MFA): If you trust the MFA claims from the partner organization, you can check this box. This means if the user has already performed MFA in their home tenant, they will not be prompted again in yours.
- Device compliance: If you trust that the partner's devices are compliant with their internal policies, you can check this.
- Hybrid Azure AD joined devices: Similar to compliance, this allows you to trust the domain-joined status of the partner's machines.
Warning: Trusting External Claims Be extremely cautious when enabling "Trust MFA" or "Trust Device Compliance." By checking these boxes, you are essentially saying that you trust the partner's security team to manage their identities and devices as effectively as you manage your own. If the partner has weak security policies, you are effectively inheriting those weaknesses.
Not read yet
Practical Examples of Use Cases
Scenario 1: The Agency-Client Relationship
A marketing agency works with a large retail brand. The brand wants the agency to be part of a shared channel for real-time campaign management. Instead of creating guest accounts for twenty agency employees, the brand configures B2B Direct Connect with the agency's tenant. The agency employees log in with their corporate accounts, and the brand’s security team maintains control over the shared channel without needing to manage the agency's staff turnover.
Scenario 2: Joint Venture Projects
Two companies are working on a long-term research project. They decide to create a shared channel that lives in a "hub" tenant. By configuring B2B Direct Connect, researchers from both companies can collaborate in the same space, share files, and hold meetings without the constant friction of switching accounts. This leads to higher adoption rates for collaboration tools and faster project velocity.
Not read yet
Best Practices for Management and Security
Managing B2B Direct Connect is not a "set it and forget it" task. As business relationships evolve, so must your security policies.
1. Principle of Least Privilege
Do not enable B2B Direct Connect for "All users" if you can avoid it. Use security groups to limit who can initiate or participate in B2B Direct Connect sessions. This limits the "blast radius" if a user's account in either organization is compromised.
2. Regular Audits
Periodically review the list of organizations in your Cross-tenant access settings. If a partnership has ended, remove the organization from your list immediately. Stale configurations are a primary source of security vulnerabilities.
3. Conditional Access Alignment
Even though you may trust a partner, you should still apply your own Conditional Access policies where possible. For instance, you can use Conditional Access to block access to sensitive shared channels based on location (IP address) or risk level, regardless of the trust settings you have configured.
4. Monitoring with Logs
Use Microsoft Sentinel or the Microsoft Entra sign-in logs to monitor B2B Direct Connect activity. Look for unusual sign-in patterns, such as users from partner organizations accessing resources at odd hours or from unexpected locations.
Code Snippet: Using Microsoft Graph PowerShell
You can automate the configuration of cross-tenant settings using the Microsoft Graph PowerShell SDK. This is particularly useful for large enterprises that manage hundreds of partner relationships.
# Connect to Microsoft Graph with necessary permissions
Connect-MgGraph -Scopes "Policy.ReadWrite.PermissionGrant"
# Define the partner tenant ID
$partnerTenantId = "00000000-0000-0000-0000-000000000000"
# Set up B2B Direct Connect for a partner
$params = @{
TenantId = $partnerTenantId
B2BDirectConnectInbound = @{
Applications = @{
AccessType = "Allowed"
}
}
}
# Apply the configuration
New-MgPolicyCrossTenantAccessPolicyConfigurationPartner -BodyParameter $params
Explanation: This script connects to the Microsoft Graph API, defines the target partner's tenant ID, and applies an inbound access policy that allows B2B Direct Connect. Using PowerShell is significantly more efficient than manual clicks when configuring multiple partners.
Not read yet
Common Pitfalls and Troubleshooting
"The user cannot join the shared channel"
This is the most common issue. It usually stems from a mismatch in policies. If the user is in your tenant, check your outbound settings for the partner. If the user is external, check your inbound settings for the partner. Ensure that both organizations have explicitly enabled B2B Direct Connect for each other.
"Conditional Access failures"
Sometimes, a user will be blocked by Conditional Access even if the trust settings are configured correctly. This often happens if the user does not meet the specific requirements of the Conditional Access policy (e.g., they aren't using a managed device, and you have a policy requiring it). Always check the "Sign-in logs" in the Entra admin center to see exactly which policy triggered the block.
Relying on "Default" Settings
Many administrators simply adjust the "Default" cross-tenant settings. This is a bad practice. The default settings apply to every organization you interact with. You should always create specific configurations for individual partners and keep the default settings as restrictive as possible (usually "Blocked").
Note: The Importance of the Default Policy The "Default" setting in Cross-tenant access settings acts as a catch-all. If you set this to "Allow," you are potentially opening your tenant to every other organization that uses Microsoft Entra ID. Always keep the default settings for B2B Direct Connect and Guest Access set to "Blocked," and only open access for specific, verified partner tenants.
Not read yet
Comparison Table: Collaboration Methods
| Feature | Guest Access | B2B Direct Connect |
|---|---|---|
| User Identity | Guest account in your tenant | Home tenant identity |
| User Experience | Must switch tenants | Native experience |
| Management | You manage guest lifecycle | Partner manages user lifecycle |
| Best For | Ad-hoc, short-term work | Long-term, high-trust work |
| Security | You control MFA/Compliance | You trust partner MFA/Compliance |
Advanced Security Considerations
When you enable B2B Direct Connect, you are creating a digital bridge between two security perimeters. To ensure this bridge is secure, you should consider implementing "Identity Protection" policies.
Risk-Based Access
If you have Microsoft Entra ID Protection, you can configure Conditional Access policies that take user risk into account. If a user from a partner organization has a "High" risk score (perhaps their credentials were found on the dark web), you can block them from accessing your shared channels, even if the B2B Direct Connect policy is otherwise "Allowed."
Monitoring for Configuration Drift
Configuration drift occurs when settings are changed by different administrators over time, leading to an inconsistent security posture. Use the Microsoft Graph API to export your current cross-tenant settings to a JSON file on a monthly basis. Compare this file against a "known good" baseline to identify any unauthorized or accidental changes to your B2B access policies.
Communication with Partners
Technical configuration is only half the battle. You must establish a clear communication channel with your partner's IT department. If they change their MFA requirements or their tenant ID, your B2B Direct Connect configuration will break. Ensure you have a process in place to be notified of changes on the partner side that might impact your shared access.
Not read yet
Summary and Key Takeaways
Configuring B2B Direct Connect is a powerful way to enable deep collaboration without sacrificing security or user experience. By following the structured approach outlined in this lesson, you can move away from the clunky guest-account model and into a modern, federated identity architecture.
Key Takeaways
- Identity Sovereignty: B2B Direct Connect keeps the user in their home tenant, reducing administrative burden and ensuring that access is automatically terminated when the user leaves their organization.
- Trust is Earned: Be extremely careful when enabling "Trust MFA" or "Trust Device Compliance." Only do this for partners you have thoroughly vetted and with whom you have a formal security agreement.
- Default Settings are Dangerous: Always keep your default cross-tenant access settings set to "Blocked." Only explicitly allow access for verified partner tenants.
- Least Privilege: Use security groups to control which users can participate in B2B Direct Connect, rather than opening it to your entire organization.
- Monitor Constantly: Use sign-in logs and security audits to ensure that your B2B relationships remain productive and secure.
- Coordinate with Partners: Technical configuration requires human coordination. Maintain a line of communication with partner IT teams to ensure policy changes don't disrupt your collaboration.
- Choose the Right Tool: Remember that B2B Direct Connect is for Shared Channels. If you need to provide access to other resources like SharePoint sites or non-Teams applications, you will still need to use Guest Access or other B2B features.
By mastering the configuration of B2B Direct Connect, you empower your organization to work more efficiently with external partners while maintaining a high standard of security. As cloud collaboration continues to evolve, these skills will become increasingly vital for any IT professional managing a modern Microsoft 365 environment.
Not read yet
Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.
- Identifying Licensing for Security Features
- Identifying Licensing for Security Features Quiz5q
- Configuring Security Alert Policies
- Configuring Security Alert Policies Quiz5q
- Choosing Teams Administrator Roles
- Choosing Teams Administrator Roles Quiz5q
- Configuring Threat Policies in Defender XDR
- Configuring Threat Policies in Defender XDR Quiz5q
- Specifying Retention Policies for Teams
- Specifying Retention Policies for Teams Quiz5q
- Configuring Sensitivity Labels for Teams
- Configuring Sensitivity Labels for Teams Quiz5q
- Specifying DLP Policies for Teams
- Specifying DLP Policies for Teams Quiz5q
- Configuring Conditional Access for Teams
- Configuring Conditional Access for Teams Quiz5q
- Implementing Information Barrier Policies
- Implementing Information Barrier Policies Quiz5q
- Understanding Communication Compliance
- Understanding Communication Compliance Quiz5q
- Identifying Licensing for Lifecycle Management
- Identifying Licensing for Lifecycle Management Quiz5q
- Understanding Teams Content Storage
- Understanding Teams Content Storage Quiz5q
- Managing Update Policies
- Managing Update Policies Quiz5q
- Creating and Managing Policy Packages
- Creating and Managing Policy Packages Quiz5q
- Configuring Microsoft 365 Group Creation
- Configuring Microsoft 365 Group Creation Quiz5q
- Configuring Expiration and Naming Policies
- Configuring Expiration and Naming Policies Quiz5q
- Archiving and Deleting Teams
- Archiving and Deleting Teams Quiz5q
- Managing Teams with PowerShell and Graph
- Managing Teams with PowerShell and Graph Quiz5q
- Configuring SharePoint and OneDrive Sharing
- Configuring SharePoint and OneDrive Sharing Quiz5q
- Configuring External Access in Teams
- Configuring External Access in Teams Quiz5q
- Configuring Guest Access in Teams
- Configuring Guest Access in Teams Quiz5q
- Managing Shared Channels
- Managing Shared Channels Quiz5q
- Configuring B2B Direct Connect
- Configuring B2B Direct Connect Quiz5q
- Configuring Multitenant Organization
- Configuring Multitenant Organization Quiz5q
- Controlling External Access by Domain
- Controlling External Access by Domain Quiz5q
- Identifying Licensing for Teams Phone
- Identifying Licensing for Teams Phone Quiz5q
- Managing Device Configuration Profiles
- Managing Device Configuration Profiles Quiz5q
- Configuring Microsoft Teams Rooms
- Configuring Microsoft Teams Rooms Quiz5q
- Managing Device Settings and Firmware
- Managing Device Settings and Firmware Quiz5q
- Configuring Teams for VDI
- Configuring Teams for VDI Quiz5q
- Provisioning Remote Device Sign-In
- Provisioning Remote Device Sign-In Quiz5q
- Planning Teams Rollout with Advisor
- Planning Teams Rollout with Advisor Quiz5q
- Creating Teams from Admin Center and Client
- Creating Teams from Admin Center and Client Quiz5q
- Creating Teams from Existing Resources
- Creating Teams from Existing Resources Quiz5q
- Creating and Managing Team Templates
- Creating and Managing Team Templates Quiz5q
- Managing Team Membership and Roles
- Managing Team Membership and Roles Quiz5q
- Managing Frontline Teams and Experiences
- Managing Frontline Teams and Experiences Quiz5q
- Managing Org-wide App Settings
- Managing Org-wide App Settings Quiz5q
- Creating App Setup Policies
- Creating App Setup Policies Quiz5q
- Managing App Permissions and Consent
- Managing App Permissions and Consent Quiz5q
- Customizing Teams App Store
- Customizing Teams App Store Quiz5q
- Uploading Custom Apps to Teams
- Uploading Custom Apps to Teams Quiz5q
- Choosing Meeting Types
- Choosing Meeting Types Quiz5q
- Configuring Meeting Settings
- Configuring Meeting Settings Quiz5q
- Creating Meeting Templates and Policies
- Creating Meeting Templates and Policies Quiz5q
- Configuring Teams Webinars
- Configuring Teams Webinars Quiz5q
- Configuring Teams Town Halls
- Configuring Teams Town Halls Quiz5q
- Configuring Meeting Customization Policies
- Configuring Meeting Customization Policies Quiz5q
- Provisioning Phone Numbers
- Provisioning Phone Numbers Quiz5q
- Managing Voice Settings and Policies
- Managing Voice Settings and Policies Quiz5q
- Creating Voicemail Policies
- Creating Voicemail Policies Quiz5q
- Managing Auto Attendants and Call Queues
- Managing Auto Attendants and Call Queues Quiz5q
- Creating and Managing Calling Policies
- Creating and Managing Calling Policies Quiz5q
- Monitoring Voice and Meeting Quality
- Monitoring Voice and Meeting Quality Quiz5q
- Configuring Alert Rules
- Configuring Alert Rules Quiz5q
- Reporting on Teams Usage
- Reporting on Teams Usage Quiz5q
- Monitoring Team Creation and Deletion
- Monitoring Team Creation and Deletion Quiz5q
- Monitoring Guest Access
- Monitoring Guest Access Quiz5q
- Using Network Connectivity Test Tool
- Using Network Connectivity Test Tool Quiz5q
- Managing Feedback Policies
- Managing Feedback Policies Quiz5q
- Collecting Client-Side Logs
- Collecting Client-Side Logs Quiz5q
- Clearing Teams Client Cache
- Clearing Teams Client Cache Quiz5q
- Using Self-Help Diagnostics
- Using Self-Help Diagnostics Quiz5q
- Troubleshooting Installation and Updates
- Troubleshooting Installation and Updates Quiz5q
- Troubleshooting Sign-In Issues
- Troubleshooting Sign-In Issues Quiz5q
- Troubleshooting Copilot and AI Experiences
- Troubleshooting Copilot and AI Experiences Quiz5q
- Troubleshooting Meeting Issues
- Troubleshooting Meeting Issues Quiz5q
Spend your points to unlock exam-style practice questions
Spend points to unlock MS-700 exam-style practice questions.
Practice for MS-700