External & Cross-Tenant Access
External collaboration settings · inviting guests · guest properties · cross-tenant access · cross-tenant sync · SAML/WS-Fed IdPs
By the tools4free.dev team · Last reviewed November 13, 2026
Practice questions for this topic →
External collaboration settings
These settings control which users in your organization can invite guests, what guests can see and which domains are allowed. Cross-tenant access settings control whether users can authenticate with external Microsoft Entra tenants. Both are checked at invitation time and the most restrictive result applies.
| Setting | Options | Default or note |
|---|---|---|
| Guest user access | Same access as members (most inclusive); limited access to properties and memberships of directory objects; access restricted to their own directory objects (most restrictive) | Limited access is the default |
| Guest invite settings | Anyone, including guests and non-admins; members and users in specific admin roles; only users in specific admin roles; no one | By default all users, including B2B guests, can invite |
| Guest self-service sign-up | Enable sign-up through user flows for apps you build | Yes or No |
| External user leave settings | Whether external users can remove themselves | Available only after you add your privacy information to the tenant |
| Collaboration restrictions | Allow or deny invitations to the domains you specify | One domain per line |
- Role to change them: a role that can update external collaboration settings, such as Global Administrator or External Identity Provider Administrator.
- Guest Inviter lets a user invite guests even when only specific admin roles may invite; User Administrator or Guest Inviter are the roles that stay allowed under that option.
- Email one-time passcode is on by default for all new tenants and for existing tenants where you haven't turned it off. When it is off, invitees are prompted to create a Microsoft account.
- A B2B sign-in generates a sign-in log in both the home tenant and the resource tenant.
- Graph resource types: authorizationPolicy for guest access and invite restrictions; authenticationFlowsPolicy for self-service sign-up; externalidentitiespolicy for leave settings.
Inviting external users
- Sign in to the Microsoft Entra admin center as at least a User Administrator.
- Go to Users and select Invite external user.
- Enter the email address and display name, and optionally an invitation message.
- On Properties, set the user type (Member or Guest). On Assignments, add up to 20 groups or roles; assigning Entra roles needs Privileged Role Administrator.
- Select Invite. The account is added to the directory as a Guest, and an email is sent.
- Redemption: the guest must redeem the invitation, and consents to your privacy terms the first time. An invitation doesn't expire. For a pending invitation, use Resend invitation in the B2B collaboration tile.
- Not supported in the email address: group email addresses and plus symbols.
- Bulk: invite by the portal or PowerShell. The PowerShell tutorial uses a CSV with
NameandInvitedUserEmailAddressheadings, signs in withConnect-MgGraph, loopsNew-MgInvitationand verifies withGet-MgUser -Filter "UserType eq 'Guest'". - Guests can also be added to groups (dynamic membership groups work with B2B) and to enterprise applications, where they get the Default Access role.
The guest user object
| Identities value | Meaning |
|---|---|
| ExternalAzureAD | Homed in another Entra organization; signs in with that account |
| Microsoft account | Homed in a personal Microsoft account |
| {host's domain} | Authenticates with an Entra account of this organization (before redemption the property shows the host's domain) |
| google.com / facebook.com | Signed up by self-service with a Gmail or Facebook account |
| Signed up with email one-time passcode | |
| {issuer URI} | Homed in an organization that uses a SAML/WS-Fed identity provider |
- UPN:
emailaddress#EXT#@tenant.onmicrosoft.com. - UserType and Identities are independent. UserType (Member or Guest) describes the relationship to the host organization. You can convert it in the profile or by PowerShell, and the B2B Invitation Manager APIs can invite a partner user as a member.
- Default permissions: guests manage their own profile, change their own password and retrieve some information about other users, groups and apps. Phone sign-in isn't supported for external users.
- B2B guest users aren't supported in Teams shared channels; use B2B direct connect.
Cross-tenant access settings
| Item | Default | What it does |
|---|---|---|
| B2B collaboration | Enabled for all internal users and external organizations | Inbound and outbound access, scoped to users, groups and applications |
| B2B direct connect | Blocked inbound and outbound | Mutual trust: both organizations must enable it |
| Trust settings (inbound) | MFA and device claims not trusted | Trust MFA, compliant device and hybrid joined device claims |
| Cross-tenant sync | No users synchronized in | Inbound checkboxes in the target tenant |
| Organizational settings | None added | Take precedence over default settings |
- Where: Entra ID, External Identities, Cross-tenant access settings. At least the Security Administrator role, or a custom role. Teams administrators can read but not update the settings.
- Licensing: a Microsoft Entra ID P1 license to configure trust settings, change the default redemption order, or apply settings to specific users, groups or applications. B2B direct connect needs P1 in both tenants.
- Consistency: user and group settings must match application settings. If you block all external users and groups, you must block all your applications too.
- Automatic redemption suppresses the consent prompt and invitation email only when selected in both the source tenant (outbound) and target tenant (inbound).
- Redemption order: you can't disable both fallback identity providers (Microsoft account and email one-time passcode). Existing guests who sign in with Microsoft accounts keep doing so until you reset their redemption status.
- Allowlist apps: if you allow only SharePoint Online, guests can't reach My Apps or register for MFA in the resource tenant. My Sign ins covers MFA registration.
- Tenant restrictions are independent of these inbound, outbound and trust settings.
- Protection and audit: changes are protected actions and appear in the audit log under the CrossTenantAccessSettings category.
Cross-tenant synchronization
- What: automates creating, updating and deleting B2B collaboration users and groups across tenants in an organization. Based on the Microsoft Entra provisioning engine.
- Push from the source tenant. Users in scope and attribute mapping are configured in the source tenant. Only internal members are pushed. Target administrators can stop a synchronization at any time.
- Target tenant: Allow user synchronization into this tenant and Allow group synchronization into this tenant are checkboxes in the target tenant's inbound settings.
- Roles: Hybrid Identity Administrator to configure the sync; Security Administrator for cross-tenant access settings; Cloud Application Administrator or Application Administrator to assign users to a configuration.
- Interval: fixed to start at 40-minute intervals; the initial cycle takes longer.
- Licences: Entra ID P1 per synchronized user in the source tenant; groups need Entra ID Governance or Entra Suite; no licences in the target tenant.
- Objects: users and security groups. Devices and contacts aren't supported. It can match an existing B2B user through alternativeSecurityIdentifier but can't match two internal users.
- Existing guests: a mapping of userType to Member isn't applied to an existing B2B user unless Apply this mapping is set to Always.
External identity providers
| Provider | Notes |
|---|---|
| Microsoft Entra accounts | Default; no configuration needed |
| Microsoft accounts | Personal accounts can redeem invitations |
| Email one-time passcode | Authenticates guests who can't be authenticated through other means |
| For Gmail users; Google Workspace domains use SAML/WS-Fed | |
| Self-service sign-up only; not for redeeming invitations | |
| SAML/WS-Fed | Federation with any external IdP that supports SAML or WS-Fed |
- Role: at least External Identity Provider Administrator to configure Google, Facebook or SAML/WS-Fed.
- Portal path: Microsoft Entra ID, External Identities, All identity providers, Custom tab, Add new, SAML/WS-Fed. You can also use Microsoft Graph (samlOrWsFedExternalDomainFederation).
- Required: issuer URI of the partner IdP (a valid RFC 3986 URI), passive authentication endpoint (HTTPS only) and the public token-signing certificate. The metadata URL is optional but lets Entra renew the certificate automatically.
- DNS: if the passive authentication endpoint's domain doesn't match the federated domain, the partner adds a TXT record for the authentication URL.
- Timing: it can take 5-10 minutes for the federation policy to take effect.
- SAML 2.0: required NameID format is
urn:oasis:names:tc:SAML:2.0:nameid-format:persistent. The two tested WS-Fed providers are AD FS and Shibboleth. - Removing federation: federated guests who already redeemed can no longer sign in, but you can reset their redemption status.
- Domains: a Microsoft Entra ID verified domain can also be federated, if the domain isn't verified in the same tenant.
CLI and PowerShell
| Task | Azure CLI | PowerShell |
|---|---|---|
| Connect to the tenant before bulk invitations | - | Connect-MgGraph -TenantId "<YOUR_TENANT_ID>" |
| List guest users (verify invitations) | - | Get-MgUser -Filter "UserType eq 'Guest'" |
| Send an invitation (used in a loop over the CSV) | - | New-MgInvitation |
Exam Tips
Tick each tip once you can answer it without looking.
“Default who can invite guests” → All users, including guests. Trap: Guests can invite too unless you change Guest invite settings.
“Let one person invite guests without a higher admin role” → Guest Inviter role (works even when only specific admin roles may invite). Trap: Setting 'No one can invite' also blocks admins.
“Default guest directory access” → Limited access to properties and memberships of directory objects. Trap: Same-as-members is the most inclusive option; own-objects-only is the most restrictive.
“External collaboration vs cross-tenant access” → External collaboration = who may invite and which domains; cross-tenant access = whether users can authenticate with external Entra tenants. Trap: Allow/block lists and cross-tenant settings are both checked; the most restrictive wins.
“Admin center invite path and minimum role in the steps” → Users, Invite external user; signed in as at least a User Administrator. Trap: Group addresses and plus symbols in email addresses aren't supported.
“Guest never redeemed the invitation” → Resend invitation (B2B collaboration tile); invitations don't expire. Trap: Don't delete and recreate the account.
“Bulk invite with PowerShell” → CSV with Name and InvitedUserEmailAddress; New-MgInvitation per row; verify with Get-MgUser filter UserType Guest. Trap: Needs the Microsoft Graph PowerShell module.
“Guest UPN format and Identities before redemption” → email#EXT#@tenant.onmicrosoft.com; Identities is the host's domain until redeemed. Trap: After redemption Identities shows the provider (ExternalAzureAD, Microsoft account, google.com, mail, issuer URI).
“Guest should be a Member user type” → Use the B2B Invitation Manager APIs, or convert UserType in the profile or PowerShell. Trap: UserType and Identities are independent properties.
“Defaults of cross-tenant access settings” → B2B collaboration allowed; B2B direct connect blocked; MFA and device claims not trusted. Trap: Organizational settings take precedence over default settings.
“Avoid a second MFA prompt for partner users” → Inbound trust setting: trust multifactor authentication (needs P1). Trap: Automatic redemption only suppresses the consent prompt.
“B2B direct connect with a partner” → Both organizations enable it in inbound and outbound settings (P1 in both tenants). Trap: It's blocked by default in both directions; enabling it on one side only isn't enough.
“Cross-tenant sync: which tenant configures what” → Source: sync job, scope, mappings. Target: allow user/group sync checkboxes. Both: automatic redemption. Trap: It pushes only internal members and runs about every 40 minutes.
“Cross-tenant sync licences” → Users: Entra ID P1 in the source tenant; groups: Entra ID Governance or Entra Suite; none in the target tenant. Trap: Devices and contacts aren't supported.
“Federate a partner's own SAML or WS-Fed IdP” → All identity providers, Custom tab, Add new, SAML/WS-Fed; at least External Identity Provider Administrator. Trap: Issuer must be an RFC 3986 URI; only HTTPS endpoint; DNS TXT record if domains differ.
“Social IdPs for guests” → Google for Gmail users (Workspace uses SAML/WS-Fed); Facebook only for self-service sign-up. Trap: Facebook isn't available to redeem invitations.
Sources
- Configure external collaboration settings
- What is Microsoft Entra B2B collaboration?
- Add B2B collaboration users
- Tutorial for bulk inviting B2B collaboration users
- Quickstart: Add a guest user and send an invitation
- B2B guest user properties
- Cross-tenant access overview
- Cross-tenant access settings for B2B collaboration
- Set up B2B direct connect
- What is cross-tenant synchronization?
- Configure cross-tenant synchronization
- Identity providers for workforce tenants
- Add a SAML/WS-Fed identity provider
- Google identity provider
Checked against Microsoft Learn on November 13, 2026.