Lesson 4 of 5 Microsoft Entra Users and Groups

Collaborating with External Users Through B2B

This lesson explains how Microsoft Entra B2B collaboration represents partners as guest users and how external collaboration and cross-tenant access settings control them.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe how guest users are invited and how they authenticate.
  • Explain the external collaboration settings that control who can invite and which domains are allowed.
  • Distinguish between external collaboration settings and cross-tenant access settings.

B2B collaboration and guest users

With B2B collaboration, an external user is invited into the tenant and represented by a user object whose user type is Guest. The guest signs in with their home identity: a Microsoft Entra account from their own organization, a Microsoft account, a Google or Facebook account through federation, or an email one-time passcode. Their password and, by default, their multifactor authentication stay with their home organization, so access ends automatically if their home account is disabled.

Guests are invited from the Users page with Invite external user, in bulk from a CSV file, with New-MgInvitation, or implicitly when someone shares a resource with them. The invitation email contains a redemption link; until it is redeemed, the account's invitation state is Pending acceptance. Once present, a guest can be added to groups, assigned apps and given Azure role assignments like any other principal. An existing internal user can also be converted to external authentication, and a guest's user type can be changed to Member when needed.

True or false

Guest users

Exam skills 1.1.4

Check how B2B guest accounts work.

Log in to try this activity Interactive activities are free with an account.

External collaboration settings

External collaboration settings in Microsoft Entra ID control guest behaviour across the tenant. Guest user access restrictions set how much of the directory guests can enumerate: the same access as members, limited access to the properties and memberships of directory objects (the default), or access only to their own directory objects (the most restrictive). Guest invite settings decide who can invite: anyone including guests, member users and specific admin roles, only users assigned to the Guest Inviter role, or no one. Collaboration restrictions allow invitations only to listed domains or deny invitations to listed domains.

Cross-tenant access settings work at the level of partner organizations (tenants). Inbound and outbound settings allow or block B2B collaboration with specific organizations, users and applications, and trust settings let Conditional Access accept multifactor authentication and compliant device claims from the partner's tenant so that guests are not prompted twice. Default settings apply to every organization without its own entry.

The following diagram shows external collaboration settings that allow invitations only to two supplier domains and only from users with the Guest Inviter role.

External collaboration settings for two suppliers. Collaboration restrictions allow invitations only to fabrikam.com and tailspintoys.com; guest invite settings let only users in specific admin roles invite; and the project managers receive the Guest Inviter role, so other employees cannot invite anyone.
The scenario is illustrative.
Match the pairs

Which setting controls it?

Exam skills 1.1.4

Match each requirement with the setting that meets it.

Log in to try this activity Interactive activities are free with an account.
Worked example

Restricting who can be invited

Contoso works with two suppliers, fabrikam.com and tailspintoys.com. Project managers must be able to invite users from these suppliers, and no other external domain may be invited. Other employees must not be able to invite anyone. What should you configure?

In External collaboration settings, set collaboration restrictions to Allow invitations only to the specified domains and list both domains. Set the guest invite settings so that only users assigned to specific admin roles can invite, and assign the project managers the Guest Inviter role. Cross-tenant access settings could block whole tenants but do not restrict invitations by email domain for accounts outside Microsoft Entra ID, and Conditional Access controls sign-in, not invitation.

Check yourself

Where does a B2B guest user's password live?

Show answer

With the guest's home identity provider, such as their own organization's Microsoft Entra tenant. The inviting tenant stores no password for them.

Exam Tips

Remember for the exam

  • Guests authenticate with their home identity; the tenant stores no password for them.
  • Restrict invitations by domain: collaboration restrictions in External collaboration settings.
  • Limit inviting to specific people: restrict guest invite settings and assign the Guest Inviter role.
  • Trust a partner's MFA: inbound trust settings in cross-tenant access settings.