SharePoint One-Time Passcode (SPO OTP) authentication will retire by August 31, 2026, transitioning external sharing and authentication in OneDrive and SharePoint to Microsoft Entra B2B starting May 2026. External users must have Entra B2B guest accounts for access, enabling consistent governance and Conditional Access across Microsoft 365.
Updated March 4, 2026: We have updated the content. Thank you for your patience.
Introduction
We are retiring SharePoint One‑Time Passcode (SPO OTP) authentication in OneDrive and SharePoint starting July 2026. Beginning in May 2026, new external sharing invitations and authentication will start using Microsoft Entra B2B instead of SPO OTP. This transition simplifies external collaboration, aligns authentication with Microsoft identity standards, and enables consistent guest lifecycle management, governance, and Conditional Access coverage across Microsoft 365.
When this will happen
How this affects your organization
Who is affected
What will happen
Impact on external users
Restoring access after retirement
What you need to do to prepare
No admin action is required. However, to ensure a smooth transition:
Learn more:
Compliance considerations
| Compliance Question | Answer |
| Does the change alter how existing customer data is accessed, processed, or stored? | Yes. This change retires SPO OTP authentication and requires all external users to authenticate using Microsoft Entra B2B guest accounts, which alters the authentication method used to access existing SharePoint and OneDrive content. |
| Does the change modify Conditional Access policies or enforcement? | Yes. After retirement, all external users will authenticate through Entra B2B and become fully subject to Microsoft Entra Conditional Access, Identity Protection, and guest governance policies. |
| Does the change provide a new way of communicating between users, tenants, or subscriptions? | Yes. External sharing invitations will be routed through Microsoft Entra B2B Invitation Manager instead of SharePoint’s OTP invitation flow. |
| Does the change alter how admins monitor, report on, or demonstrate compliance activities? | Yes. Authentication events and guest lifecycle actions will be logged through Entra audit logs rather than SPO OTP logs, changing where admins review authentication and guest access activity. |