A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
The behavior change is caused by how SharePoint/OneDrive external sharing now integrates with Microsoft Entra B2B and by your current external sharing/B2B settings.
Key points from the current model
- Two different external sharing models exist:
- SharePoint external authentication (no Entra B2B integration):
- No guest account is created when sharing files/folders.
- External users authenticate via one-time passcode (OTP) to the email address the item was shared with.
- Microsoft Entra B2B integration enabled:
- A guest account is always created when files/folders or sites are shared.
- Microsoft Entra external collaboration settings (guest invite settings, domain restrictions, cross-tenant access, etc.) apply.
- Without Entra B2B integration: “No guest account created; Microsoft Entra settings don’t apply.”
- With Entra B2B integration: “Guest account always created; Microsoft Entra settings apply.”
- SharePoint external authentication (no Entra B2B integration):
- Guest account creation paths Guest accounts are created in any of these cases:
- A file, folder, or site is shared or reshared with the guest and they see access denied.
- A site was shared with the guest at any point.
- A guest account was manually created in Microsoft Entra B2B.
- External collaboration settings can now block invitations If external collaboration/B2B settings are restrictive, SharePoint/OneDrive sharing can fail or behave inconsistently:
- Errors like “Guest invitations not allowed for your company” or “This invitation is blocked by cross-tenant access settings” occur when B2B collaboration settings block invitations.
- These settings override Microsoft 365 sharing settings when Entra B2B integration is enabled.
- One-time passcode vs Entra B2B
- When B2B integration is not enabled, SharePoint can still use ad hoc sharing via one-time passcodes (OTP). In this mode, guest accounts are not created for file/folder sharing, and Entra external collaboration settings don’t apply.
- When B2B integration is enabled, OTP-based ad hoc external recipients are replaced by B2B guests, and guest accounts are created and governed by Entra external collaboration settings.
- Why AADSTS90072 appears now AADSTS90072 typically appears when a user tries to access a resource in a tenant where they don’t yet have a guest account or where cross-tenant/B2B policies block them. In the current model:
- If Entra B2B integration is enabled but external collaboration settings or cross-tenant access settings block invitations, the guest account is not created and the user can’t complete sign-in.
- If Entra B2B integration is disabled and OTP sharing is used, no guest account is created by design; users authenticate via OTP instead of as B2B guests.
Practical steps to restore automatic guest creation
- Confirm SharePoint/OneDrive are integrated with Entra B2B
- Ensure SharePoint and OneDrive integration with Microsoft Entra B2B is enabled so that guest accounts are always created for file/folder sharing and Entra external collaboration settings apply.
- Verify external collaboration settings in Entra ID
- In Microsoft Entra ID → External Identities → External collaboration settings:
- Ensure guest invite settings allow the appropriate roles (admins and/or users with Guest Inviter role) to invite guests.
- Ensure guest user access is not overly restricted in a way that blocks access.
- Review cross-tenant access settings and Microsoft cloud settings to ensure they don’t block invitations or access for the partner tenants.
- In Microsoft Entra ID → External Identities → External collaboration settings:
- Check SharePoint/OneDrive external sharing levels
- In the SharePoint admin center → Sharing:
- Ensure external sharing is set to “New and existing guests” or “Anyone” for SharePoint and OneDrive, depending on policy.
- At the site level, ensure the site’s sharing setting is not more restrictive than the organization-level setting.
- In the SharePoint admin center → Sharing:
- Understand and choose the desired model
- If the goal is automatic guest account creation and consistent B2B governance, use Entra B2B integration and configure external collaboration settings to allow invitations.
- If the goal is OTP-only ad hoc access without guest accounts, keep B2B integration disabled and rely on the one-time passcode model; in this case, guest accounts will not be created for file/folder sharing by design.
- Optional: make guests discoverable in people picker
- If guest accounts are created but not easily selectable, enable
ShowPeoplePickerSuggestionsForGuestUsersat tenant and site level usingSet-SPOTenantandSet-SPOSiteso existing guest users can be searched in the SharePoint people picker.
- If guest accounts are created but not easily selectable, enable
Once Entra B2B integration and external collaboration settings are aligned, sharing a file with an external user will again result in a guest account being created in Entra ID and invitations working reliably, while also being governed by Entra’s external collaboration and cross-tenant access policies.
References:
- Overview of external sharing in SharePoint and OneDrive in Microsoft 365
- Secure external access to Microsoft Teams, SharePoint, and OneDrive with Microsoft Entra ID
- Frequently Asked Questions: Improvements to external sharing in OneDrive & SharePoint - Retiring SPO OTP & Transition to Microsoft Entra B2B
- Error: ResponseStatusNotOK when sharing a SharePoint or OneDrive site
- Sharing errors in SharePoint and OneDrive
- Troubleshoot common issues with Microsoft Entra B2B collaboration
- What’s new in sharing in SharePoint and OneDrive