Entra IDDeep dive

B2B guest access and cross-tenant access settings: inbound, outbound and trust

How external collaboration settings and cross-tenant access settings fit together: default vs organizational settings, trusting partner MFA and devices, and B2B direct connect.

Guest access in Microsoft Entra ID is governed by two sets of settings that are easy to mix up: external collaboration settings and cross-tenant access settings. Get the split wrong and you either block a partner you meant to allow, or make every guest register MFA again in your tenant. In this deep dive I'll explain what each layer controls, how default and organizational settings interact, how to trust partner MFA and devices, and how B2B direct connect powers Teams shared channels.

How this guide is organised: How it works → Step-by-step → Verify → Tips & gotchasFlow diagram of the article's sections in reading order: 1. How it works. 2. Step-by-step (5 steps: Set sensible external collaboration settings; Discover existing traffic before changing defaults; Add partner organizations; Trust MFA and device claims from partners you know; Enable B2B direct connect for Teams shared channels). 3. Verify. 4. Tips & gotchas. Toolbox: HomeTenantId, ResourceTenantId, CrossTenantAccessSettings.1How it works2Step-by-step3Verify4Tips & gotchas1Set sensibleexternal collabora…2Discover existingtraffic before cha…3Add partnerorganizations4Trust MFA anddevice claims fro…5Enable B2B directconnect for Team…TOOLBOXHomeTenantIdResourceTenantIdCrossTenantAccessSettingsHow this guide is organised: How it works → Step-by-step → Verify → Tips & gotchasFlow diagram of the article's sections in reading order: 1. How it works. 2. Step-by-step (5 steps: Set sensible external collaboration settings; Discover existing traffic before changing defaults; Add partner organizations; Trust MFA and device claims from partners you know; Enable B2B direct connect for Teams shared channels). 3. Verify. 4. Tips & gotchas. Toolbox: HomeTenantId, ResourceTenantId, CrossTenantAccessSettings.1How it works2Step-by-step1Set sensible external collaboration settings2Discover existing traffic before changingdefaults3Add partner organizations4Trust MFA and device claims from partners youknow5Enable B2B direct connect for Teams sharedchannels3Verify4Tips & gotchasTOOLBOXHomeTenantIdResourceTenantIdCrossTenantAccessSettings
At a glance: how this guide is organised · 5 steps · 3 key settings and tools

How it works: two layers#

External collaboration settingsCross-tenant access settings
Applies toAll guests, including Microsoft accounts, email one-time passcode and social identitiesOther Microsoft Entra organizations only
ControlsWhat guests can see in your directory, who can invite, self-service sign-up, domain allow or deny lists, whether external users can leaveInbound and outbound B2B collaboration and B2B direct connect, trust for MFA and device claims, automatic redemption, cross-tenant sync
LocationEntra ID › External Identities › External collaboration settingsEntra ID › External Identities › Cross-tenant access settings
Typical roleGlobal Administrator or External Identity Provider AdministratorSecurity Administrator

Both layers are checked when someone sends an invitation. A domain on the deny list can't be invited whatever the cross-tenant settings say; a domain on the allow list can be invited unless cross-tenant settings explicitly block it; anything on neither list falls through to cross-tenant access settings.

Default versus organizational settings#

Default settings apply to every Microsoft Entra tenant you haven't added explicitly. Out of the box, B2B collaboration is allowed in both directions, MFA and device claims from other tenants aren't trusted, B2B direct connect is blocked inbound and outbound, and no organizations are listed. When you add a tenant under Organizational settings, it starts as Inherited from default; anything you customise overrides the defaults for that tenant only.

Each direction has two halves: users and groups, and applications. Scoping to specific users, groups or apps, and configuring trust settings, requires Microsoft Entra ID P1 in the tenant you configure; B2B direct connect needs P1 in both tenants.

Step-by-step#

1. Set sensible external collaboration settings#

  • Guest user access: the default limits guests' view of directory objects; Guest user access is restricted to properties and memberships of their own directory objects is the most restrictive option and worth considering.
  • Guest invite settings: if anyone can invite today, move to Member users and users assigned to specific admin roles, or to Only users assigned to specific admin roles and grant the Guest Inviter role to the people who need it.
  • Collaboration restrictions: use a deny list for domains you never want, or an allow list if you work with a fixed set of partners.

2. Discover existing traffic before changing defaults#

Blocking a default can cut off collaboration nobody told you about. If sign-in logs flow to Log Analytics, see who crosses your tenant boundary today:

KQL
SigninLogs
| where TimeGenerated > ago(30d)
| where isnotempty(CrossTenantAccessType) and CrossTenantAccessType != "none"
| summarize SignIns = count(), Users = dcount(UserPrincipalName)
    by CrossTenantAccessType, HomeTenantName, HomeTenantId, ResourceTenantId
| sort by SignIns desc

A partner's ID in HomeTenantId means inbound guests; in ResourceTenantId it means your users going out. Microsoft also provides a Cross-tenant access activity workbook for the same purpose.

3. Add partner organizations#

In Cross-tenant access settings › Organizational settings, select Add organization and enter the partner's domain or tenant ID. Open the Inherited from default link under Inbound access or Outbound access, choose Customize settings and set which users, groups and applications are allowed. Targeting partner groups needs their object IDs from the partner's admin. If you allow-list applications, include My Apps, My Profile, My Sign-ins and Microsoft App Access Panel, or guests can't reach their landing page or register MFA; some can only be added through Microsoft Graph.

4. Trust MFA and device claims from partners you know#

On the partner's Inbound access › Trust settings tab you can select Trust multifactor authentication from Microsoft Entra tenants, Trust compliant devices and Trust Microsoft Entra hybrid joined devices. Your Conditional Access policies still apply to those guests, but a requirement already satisfied in their home tenant is accepted instead of being challenged again; if MFA hasn't been done, the challenge happens at home. Without MFA trust, guests register and perform MFA in your tenant, and because you don't manage their devices, a compliant-device requirement realistically depends on trusted claims. Enable trust per partner rather than in the defaults, which cover every tenant. The same tab offers Automatically redeem invitations, which only suppresses the consent prompt when both tenants tick it. For guest MFA policies, see a Conditional Access baseline.

5. Enable B2B direct connect for Teams shared channels#

B2B direct connect currently works with Teams shared channels: partner users join with their home credentials and no guest object is created in your directory. It needs mutual consent:

  1. In the partner's organizational settings, allow inbound and outbound B2B direct connect, scoped to groups if needed.
  2. The partner configures the same for your tenant; until both sides allow it, sharing doesn't work.
  3. If your Conditional Access requires MFA for external users, trust MFA from that partner, otherwise direct connect users are blocked.
  4. Make sure the Teams shared channel policies in the Teams admin center allow external participants.

Channel owners can then add partner users by their full email address. B2B direct connect isn't supported between different Microsoft clouds.

Verify#

PowerShell
Connect-MgGraph -Scopes "Policy.Read.All"
Get-MgPolicyCrossTenantAccessPolicyPartner -All |
    Select-Object TenantId,
        @{ n = 'TrustMfa';       e = { $_.InboundTrust.IsMfaAccepted } },
        @{ n = 'TrustCompliant'; e = { $_.InboundTrust.IsCompliantDeviceAccepted } },
        @{ n = 'TrustHybrid';    e = { $_.InboundTrust.IsHybridAzureADJoinedDeviceAccepted } }
  • Each partner should show exactly the trust you agreed.
  • In Entra ID › Monitoring & health › Sign-in logs, filter on Cross tenant access type (B2B collaboration or B2B direct connect) and check that partner sign-ins satisfy your Conditional Access policies without guests registering MFA in your tenant.
  • In the audit logs, filter on the CrossTenantAccessSettings category to see every change and who made it.

Tips & gotchas#

  • Trust and ID Protection. If you trust partner MFA, consider excluding external users from the ID Protection MFA registration policy; with both in place, guests can't satisfy access requirements.
  • SharePoint and OneDrive. With SharePoint and OneDrive B2B integration, also add partner domains to the external collaboration settings; adding the tenant in cross-tenant access settings alone may not let those invitations through.
  • Tenant restrictions are separate. They control which external accounts your users can use on your devices and aren't affected by inbound or outbound settings.
  • Protect the settings. Changes to cross-tenant access settings are protected actions, so you can require stronger authentication for them through Conditional Access.
  • Clean up guests. Settings don't remove old guests; schedule access reviews for them.

References#

Written and checked against current Microsoft Learn documentation. Test changes with a pilot group before rolling them out to everyone, and if an admin center path has moved since, search for the setting name instead.

Spotted a mistake, or did this fix work differently for you? Email me or message me on LinkedIn — corrections are credited in the article.

Written by

Omer Eltayeb

Intune Subject Matter Expert in Cairo, Egypt, former Microsoft Cloud Solutions Architect, Microsoft Certified Trainer and Microsoft Innovative Educator Expert (2024–26) and Microsoft Elevate Educator Expert (2026–27). I share practical, step-by-step guides, study plans, scripts and toolkits for Microsoft Intune, Configuration Manager, Microsoft Entra ID, Microsoft Defender, Exchange and Microsoft 365 with the community.

Microsoft Certified Trainer (MCT) 2026Microsoft Innovative Educator Expert 2025–2026Microsoft Elevate Educator Expert 2026–2027ISC2 Certified Information Systems Security Professional (CISSP)Microsoft 365 Certified: Enterprise Administrator Expert (MS-102)