Two people at a work table review papers and notes between two open laptops; one holds a pencil over a notebook.
  • Security
  • Microsoft 365
  • Small and Medium Businesses

SharePoint’s one-time passcode for external guests is retired: what an SME does when access is denied

Microsoft retired SharePoint’s one-time passcode for external sharing on commercial tenants, expected to finish by the end of November 2026. Without an Entra guest account, a client sees access denied.

Photo: Scott Graham · on Unsplash

Microsoft retired the SharePoint Online one-time passcode, the code an outside person received by email to open a file in OneDrive or SharePoint. The FAQ on Microsoft Learn describes that retirement for commercial tenants during October 2026. Message Center message MC1243549, updated on October 1, 2026, says phase 2 was rescheduled to begin in mid-October and was expected to complete by the end of November 2026 for production environments. Someone who opened an older “Specific people” link with that SharePoint code, and who does not have a Microsoft Entra B2B guest account with the same email address, now sees access denied. There is no way to opt out.

For the owner or manager of a small or mid-sized business in Brazil or Latin America, without a large IT team, the effect shows up in the working day. The client cannot open the proposal. The accountant cannot open the month’s folder. The supplier cannot open the contract. The fix is not to resend every file. Share, or reshare, at least one file, folder, or site with that person. That creates the guest account and restores access to what was already shared. An administrator can also create the guest account with the same email address.

In this article, “the company’s account” is what Microsoft calls a tenant. “Specific people” is the link type where the company chooses who may open it. A guest account is a record of that outside person in the company directory, Microsoft Entra B2B. The SharePoint one-time passcode is also called SPO OTP.

This article does not describe a CGT client. The facts come from the FAQ and from Microsoft Entra B2B integration for SharePoint & OneDrive, both on Microsoft Learn. The timeline is in the MC1243549 archive.

What stopped working

The code that ended is SharePoint’s, used for external sharing in OneDrive and SharePoint. The outside person asked for the file, received a code by email, and opened the link without an account in the company directory.

Another code, similar in name, remains. It is the Microsoft Entra B2B email one-time passcode. The FAQ says it is not being retired. When it is turned on, it is the fallback for a guest who cannot sign in through another supported method. The integration article describes the same feature: someone without a work, school, or Microsoft account can sign in with a code, instead of creating a new Microsoft account.

Phase 1 of the message, which moves new sharing to Entra B2B, was already fully rolled out for production environments in the October 1 update. Phase 2 is the retirement of the SharePoint code. The same update leaves out the GCC, GCCH, and DoD government clouds. The dates in this article apply to commercial production accounts, the usual case for a company in the region.

Entra B2B integration, for new sharing, is already on for those accounts. The FAQ says the EnableAzureADB2BIntegration setting no longer controls that behavior, and that the integration cannot be turned off. Turning the integration on does not change each site’s rule: if a site does not allow external sharing, it still does not.

Who loses access, and who does not

The FAQ and the message separate two groups.

People who already have a guest account with the same email. They keep opening what was already shared. The message says behavior does not change for this group. If the guest account already exists, the FAQ says a second, duplicate account is not created.

People who opened an older Specific people link with the SharePoint code and do not have that account. Until retirement reached the company’s account, that access continued. Once it does, the person sees access denied on those links, until a guest account exists with the email from the original share. The message also separates a Specific people link created after the change: in that case, the guest account is created automatically at sharing time, through the Entra B2B Invitation Manager.

Anyone links. The FAQ says SharePoint code retirement and the use of Entra B2B do not affect Anyone links, the anonymous ones. A link that anyone with the address could already open stays on that footing.

The change applies to the whole account. The integration article says there is no exception, and that it cannot be limited to a single site.

What this changes in the working day

The file itself does not disappear. The proposal, the contract, and the report stay in OneDrive or SharePoint. What changes is the door for someone who was outside, on an older link, without a guest account.

Three effects fit a small company’s day.

The client stops at the door. The person who needs to read the proposal, sign the contract, or check the month’s report opens the same link as always and sees access denied. The commercial deadline does not wait while the team looks up the setting’s name.

The unsafe shortcut. To unblock the client the same day, someone sends the file by personal email, WhatsApp, or a USB drive. That copy leaves the company’s sharing rules, and nobody keeps a list of who received it. Another shortcut is to switch the file to an Anyone link. The FAQ says that kind of link was not hit by the retirement. Using one to get around access denied is the company’s choice, and it is a weaker choice for a proposal, a contract, or a report, because the address does not ask who is on the other side.

The guest list left behind. Each invited person now has an account in the directory and is subject to Entra access policies, such as multifactor authentication, a second factor beyond the password. That is in the integration article. The other side of that account is accumulation: the accountant who left, the supplier from a finished job, the client’s old contact. Without a review from time to time, those accounts stay in the directory with the access they were given.

None of this is an incident that has already happened at a named company. It is what a closed door, and a hurried way of opening it, produce in a working day.

What to do, in this order

The screen names below are in English, as in the FAQ, the integration article, and message MC1243549. In an admin center set to another language, the same items appear translated.

  1. Know who administers the account and who can invite. The fix needs an administrator, to create the guest account, or a person with permission to share. That account’s password does not go out by chat.

  2. Tell the people who share files with clients, accountants, and suppliers. The sentence they will hear is that the old link shows access denied. The agreed path is the one in this article. Personal email, WhatsApp, a USB drive, and an Anyone link for a proposal, contract, or report stay off that path.

  3. Read each site’s external sharing report. The FAQ points to that report at site level to list people invited through the SharePoint code who do not yet have an Entra B2B guest account. The column to read is User E-mail. A company with more than one site repeats the reading on each. The list is there so you can act before the client calls.

  4. For each email that still needs to open files, create the guest account once. There are two paths, and both are in the FAQ and the message. An administrator creates the Microsoft Entra B2B guest account with the email from the original link. Or a person with permission to share shares, or reshares, at least one file, folder, or site with that person. One item is enough. The guest account is created, and access to what was already shared comes back, without redoing every file. If an account with that email already exists, the FAQ says a duplicate is not created.

  5. Confirm the email is the one on the original link. The documentation asks for the account that matches that address. Another email, even for the same person, does not restore the older links.

  6. Leave Entra’s email code turned on. That code is not the one that was retired. It is the fallback for someone who cannot sign in another way. The message asks you to check that it was not turned off in Entra External ID settings. It also says the feature is on by default for new tenants and for existing tenants where nobody turned it off on purpose.

  7. Give the Guest Inviter role to the people who need to invite. The message names that role, Guest Inviter, for people who share externally or create guest accounts. The integration article adds a point that can stall the fix: SharePoint and OneDrive sharing follows Entra’s organizational relationship settings, such as Members can invite and Guests can invite. If the Entra setting is more restrictive than the SharePoint setting, the Entra setting wins. The person who could share last month may not be able to reshare now.

  8. Review external sharing and the access rules for guests. The message asks for that reading in the SharePoint and Entra admin centers, including Conditional Access for guests. After retirement, the outside person signs in through Entra and is covered by those rules. A rule that is too tight can block the accountant. The integration article says the guest is subject to the Entra access policies the account already has, such as multifactor authentication. This article does not tell you to turn on a policy by a given name. It tells you to look at what is already there before the client complains about the link. Sign-in events and the life of the guest account are logged in Entra audit logs, no longer in the log of the old SharePoint code.

  9. Put a review of guest accounts on the calendar. Because they now appear in the directory, the list can be read and trimmed. Remove people who no longer need access. The pages cited here do not publish a required interval for that review. The gain is that the account no longer hides inside SharePoint.

  10. Test with a real person from the list. Reshare one file with an accountant or a client who is on the report, ask them to open an older link, and confirm that it opens. A test done before a proposal deadline avoids discovering the break at send time.

  11. Leave a short note for the team and update the internal procedure. The message asks you to inform people and update internal documentation. A half-page note, with the symptom (access denied on the old link) and the step (reshare one item, or ask for a guest account with the same email), is enough to hold off the WhatsApp shortcut.

Frequently asked questions

What did Microsoft retire?

The SharePoint Online one-time passcode for external sharing in OneDrive and SharePoint, on commercial tenants. The FAQ describes the retirement during October 2026. Message MC1243549, updated on October 1, 2026, places phase 2 from mid-October through the end of November 2026 for production environments. The Microsoft Entra B2B email one-time passcode was not retired.

Who sees access denied?

An outside person who opened an older Specific people link with the SharePoint code and who does not have an Entra B2B guest account with the same email. Someone who already has that account keeps access. An Anyone link is not part of this change.

Do I have to reshare every file?

One item is enough. Sharing or resharing at least one file, folder, or site creates the guest account and restores access to what was already shared. An administrator can create the account with the same email as the original link. The FAQ says you do not have to redo each item.

Can I opt out or pick the date?

The FAQ says no. A commercial tenant cannot opt out of SharePoint code retirement or turn off Entra B2B integration for new sharing. The date cannot be chosen either: Microsoft selects tenants automatically.

Is the email code gone for good?

The SharePoint code is gone. The Entra B2B email one-time passcode remains, as the fallback for someone who cannot sign in another way, as long as it is turned on. The message asks you to check Entra External ID settings. The feature is on by default for new tenants and for tenants where nobody turned it off on purpose.

How do I find who was affected?

In each site’s external sharing report, in the User E-mail column. The FAQ describes that list as guests invited through the SharePoint code who do not yet have an Entra B2B guest account.

The FAQ says no. SharePoint code retirement and the use of Entra B2B do not affect anonymous Anyone links.

Does this describe a CGT client?

No. There is no case, client, or CGT result in this article.

A guest in the directory also falls under the account’s access rules. On the blog, the article on Microsoft 365 baseline security mode (BSM 2026) covers, among other settings, a second factor for guests. That is a different control, on a different screen. This article is about the end of SharePoint’s one-time passcode and the guest account that is now required.

How CGT can help

CGT supports small and mid-sized businesses on Microsoft 365, within the scope agreed with each client: read each site’s external sharing report, see who is missing a guest account, check that Entra’s email code is still on, see that the right people have the Guest Inviter role, and review guest access rules. Human support is Monday to Friday, 8:00 to 18:00, São Paulo time.

Want a review of your company’s external sharing and guest accounts? Meet CGT and talk to us.

Sources: Microsoft Learn — FAQ: Improvements to external sharing in OneDrive and SharePoint, Microsoft Learn — Microsoft Entra B2B integration for SharePoint & OneDrive, and the MC1243549 archive, updated October 1, 2026.

Next step

Want to get your company’s IT in order?

CGT takes over the operation or reinforces the team you already have. Service is remote, in Portuguese, Spanish and English.