SharePoint external sharing now needs guest accounts: what to do
Vetrox · Published
The short answer
Sharing a file, folder or site with a named person outside the business, in SharePoint or OneDrive, now runs on a guest account in your Microsoft 365 directory. From October 2026, Microsoft is retiring SharePoint's own emailed one-time passcodes for commercial tenants, and once that reaches a tenant, an outside person with no guest account is refused when they open a link shared with them earlier. To restore access, an administrator creates a guest account for that email address, or a colleague shares one file with the person again. Then check who can invite guests, and remove guest accounts when the work ends.
What changed
Until 2026, SharePoint and OneDrive had two ways to check that the person opening a shared link was the person it was meant for. One was a guest account in the organisation's Microsoft 365 directory, handled by Microsoft Entra B2B, the part of Microsoft Entra ID that looks after people from outside. The other was SharePoint's own one-time passcode: the person was sent a single-use code by email, and, as Microsoft's overview of external sharing (opens in a new tab) shows, no guest account was created for them.
Microsoft has now moved all of it onto guest accounts. Its documentation (opens in a new tab) describes two stages for commercial tenants, the standard Microsoft 365 service that most businesses use:
- between May and July 2026, new external sharing switched to Microsoft Entra B2B. The setting that used to control this no longer has any effect, and the integration cannot be turned off
- from October 2026, Microsoft is retiring SharePoint's own one-time passcode. Its answers to common questions (opens in a new tab) say the retirement rolls out to commercial tenants during October, that tenants are selected automatically, and that an organisation can neither choose its date nor opt out.
One name survives the change and causes confusion. Microsoft Entra B2B has an email one-time passcode of its own, and Microsoft says that one is not being retired (opens in a new tab). An outside person without a Microsoft account can still be sent a code by email. The difference is that the code now signs them in to a guest account in your directory.
Two kinds of link are left alone. Links that open without any sign-in, which Microsoft calls Anyone links, are not affected (opens in a new tab), and nothing changes for links shared between your own staff. This guide follows Microsoft's documentation as it stood on 2 December 2026.
Which shared links are affected
The change catches one combination: an item shared with named people outside the organisation, opened until now with emailed codes, by a person who has no guest account. Microsoft calls these Specific people links. Once the retirement reaches a tenant, an outside person without a matching guest account receives access denied (opens in a new tab) on Specific people links that were shared with them earlier.
Will a link shared before October 2026 still open?
01
Opens as before
- Has a guest account
- A team or site guest
- Shared since July
02
Access denied
- Specific people link
- Opened with a code
- No guest account
03
Not affected
- Anyone links
- Links for your staff
Nothing has been deleted. The link and the permission behind it are still in place, waiting for a guest account that matches the email address. Many outside people already have one and will notice nothing:
- anyone added to a team in Microsoft Teams as a guest, because a guest account is created (opens in a new tab) when a guest is invited to a team
- anyone a whole SharePoint site was shared with, because sharing a site has always gone through Microsoft Entra B2B (opens in a new tab)
- anyone a colleague has shared a file or folder with since the switch in the middle of 2026.
The people most likely to be caught are the ones a business deals with now and then: a client who was sent a folder of documents last year, a supplier with a link to a specification, an adviser who opens the same shared folder once a quarter.
An organisation cannot choose its date, so the practical check is a test. Take an item that was shared with an outside address before October 2026 and ask that person to open it. If they see access denied, work through the steps below. The schedule Microsoft published was October 2026, so assume the change has reached your tenant unless a test shows otherwise.
What it means for a business
- Old links fail without warning. The outside person sees access denied, and the first your team hears of it is an email asking for the file again. The tempting reply is an attachment, which leaves a copy of the document outside your control.
- Every outside contact becomes an account. Sharing one file with a new address now adds a guest to the directory. Microsoft counts this as an advantage: each invited person gets an account and is subject to Microsoft Entra ID access policies such as multi-factor authentication (opens in a new tab). It is also a list that grows unless someone looks after it.
- Sharing follows the directory's rules as well as SharePoint's. Who may invite guests, and which domains are allowed or blocked (opens in a new tab), is now decided in Microsoft Entra ID for files and folders as well as for sites. Where a Microsoft Entra setting is stricter than the SharePoint one, the Microsoft Entra setting prevails (opens in a new tab).
- There are no exceptions. Microsoft says the change applies to the whole tenant (opens in a new tab): it cannot be limited to particular sites, and nobody is exempt.
The work that follows falls into four steps: find who is affected, restore access for the people who still need it, review the settings that now decide who can share, and keep the guest list short.
Step 1: Find who is affected
Start with people, not files. Access is restored one person at a time, so the list to build is of outside email addresses that have links but no guest account. Three places hold the information:
- The sharing report for a site. A site administrator opens the site, selects Settings, then Site usage, and runs the report (opens in a new tab) under Shared with external users. It saves a CSV file with a row for each item, person and link, showing the person's email address, whether they are a guest, and the link type. For this change, Microsoft points to the report's User E-mail column (opens in a new tab) as the way to list people who were invited with SharePoint's passcode and do not yet have a guest account.
- The same report for a OneDrive. The owner opens OneDrive, selects Settings, then OneDrive settings and More settings, and chooses Run sharing report (opens in a new tab).
- The audit log. In the Microsoft Purview portal, an administrator searches for sharing and access request activities (opens in a new tab) and exports the results. The events SecureLinkCreated and AddedToSecureLink record each Specific people link and the person added to it. The standard audit log keeps records for 180 days (opens in a new tab), so it shows recent sharing only; for older links, use the site reports.
Check the addresses against the guest list: in the Microsoft 365 admin center, expand Users and choose Guest users (opens in a new tab). An address that has links but no entry there is one that will be refused.
Do not try to cover every site in one pass. Begin with the sites and folders used for current clients, suppliers and advisers, and note beside each address whether the person still needs access at all.
Step 2: Restore access
Microsoft gives two ways to restore access (opens in a new tab), and neither means sending every link again:
- An administrator creates the guest account. In the Microsoft Entra admin center, go to Users, select New user and then Invite external user (opens in a new tab), and enter the email address the original link was shared with. It has to be an individual's address: Microsoft Entra does not accept a group address, or an address with a plus sign in it.
- A colleague shares something with the person again. Anyone with permission to share can share or reshare one file, folder or site (opens in a new tab) with that address, and the guest account is created automatically. In SharePoint that means selecting the item, selecting Share, entering the address under Add people (opens in a new tab) and selecting Share.
Either way, once a matching guest account exists, the person can open the links shared with that address earlier, without each item being shared again. If a guest account for the address already exists, Microsoft says no duplicate is created (opens in a new tab). An administrator who knows which contacts matter can also create their guest accounts in advance (opens in a new tab), before anyone is refused.
That convenience needs a moment of care. Restoring one person brings back the links shared with their address earlier, all together, including folders from finished work that nobody remembers. Before restoring someone, read their rows in the sharing report and remove what they no longer need. The owner of a file or folder selects Share to see who has access, where people outside the organisation carry an External badge (opens in a new tab), and removes the person or the link there.
What outside contacts see now
The sign-in an outside person meets depends on their email address. Microsoft Entra tries the possibilities in a set order (opens in a new tab):
- a person whose organisation uses Microsoft 365 signs in with their own work account, on their own organisation's sign-in page
- a person who has a personal Microsoft account signs in with that
- anyone else is sent a one-time passcode by Microsoft Entra: they select Send code and type in the code that arrives by email.
The emailed code is valid for 30 minutes (opens in a new tab), and the session it starts lasts 24 hours. After that, the person receives a new code the next time they open the item. Microsoft's reason is security, especially when a guest leaves their company or no longer needs access.
That fallback works only while the feature is on. It is on unless someone has turned it off (opens in a new tab); with it off, an outside person who has no Microsoft account is asked to create one. An administrator can check the setting in the Microsoft Entra admin center, under Entra ID > External Identities > All identity providers.
On the first visit, a guest is also shown a page called Review permissions and has to accept it to continue. The page points to your organisation's privacy statement (opens in a new tab), provided the address of that statement has been entered in Microsoft Entra. If the privacy details are missing, the guest is told that your organisation has not provided links to its terms (opens in a new tab). The privacy statement and a privacy contact are entered under Entra ID > Overview > Properties.
Tell regular contacts what to expect before they meet it: they will be asked to sign in with their own work account or with a code sent to their email, and to accept a permissions page the first time. People are right to be wary of an unexpected sign-in page, and a sentence from someone they know saves a support call.
Step 4: Keep the guest list short
A guest account is an account like any other. It should belong to someone the business still works with, and it should go when the work ends. The Australian Cyber Security Centre's handbook for small businesses says to give people only the access they need for their duties, and to review access permissions regularly (opens in a new tab).
- Set guest access to expire. The sharing settings in the SharePoint admin center include Guest access to a site or OneDrive will expire automatically after this many days (opens in a new tab). With it on, a guest's access to a site lapses unless someone extends it. Site administrators receive a weekly email listing the guests due to expire in the next two to three weeks (opens in a new tab), and extend the ones still needed under Site permissions. The setting covers only access given after it is turned on.
- Remove guests when the work ends. Microsoft names two ways to stop sharing with a guest (opens in a new tab): remove their permissions from the item, or remove them as a guest from the directory. Guests are removed in the Microsoft 365 admin center, under Users > Guest users (opens in a new tab), and a deleted account can be restored for 30 days (opens in a new tab). Do both for anyone whose work has finished: as step 2 showed, a new guest account for the same address may reopen links that were left in place.
- Ask guests for a second step. With Conditional Access, an organisation can require multi-factor authentication for all guests and external users (opens in a new tab). Our MFA and passkeys guide covers the licence it needs.
- Read the list on a schedule. Microsoft Entra can review inactive guests and remove them automatically (opens in a new tab), but that feature needs a Microsoft Entra ID Governance or Microsoft Entra Suite licence. Without it, a reminder each quarter to read down the Guest users list does the same job where the list is short.
These are the habits a business already needs for staff who leave, covered in our IT offboarding checklist. And if the same clients keep coming back to shared folders for their own documents, a folder may be the wrong tool: a customer portal gives each client their own sign-in and their own view.
Where Vetrox fits
Vetrox is an Australian IT company that administers Microsoft 365 for businesses across Australia, in English or Mandarin: users, licences, groups, shared drives and sharing settings. When a platform changes, we check what it means for you. For this change, that means finding the outside people whose links are now refused, restoring access for the ones who still need it, reviewing the guest and sharing settings, and removing guest accounts that are no longer needed. Your subscription stays in your own account with Microsoft, and we work in it with admin access that you grant and can remove. Where clients need regular access to their own documents, we also build customer portals.
Sources
- Microsoft Learn: Overview of external sharing in SharePoint and OneDrive in Microsoft 365 (opens in a new tab)
- Microsoft Learn: SharePoint and OneDrive integration with Microsoft Entra B2B (opens in a new tab)
- Microsoft Learn: Frequently asked questions, improvements to external sharing in OneDrive and SharePoint (opens in a new tab)
- Microsoft Learn: Guest access in Microsoft Teams (opens in a new tab)
- Microsoft Learn: Manage sharing settings for SharePoint and OneDrive in Microsoft 365 (opens in a new tab)
- Microsoft Learn: Report on file and folder sharing in a SharePoint site (opens in a new tab)
- Microsoft Learn: Use sharing auditing in the audit log (opens in a new tab)
- Microsoft Learn: Microsoft Purview auditing solutions (opens in a new tab)
- Microsoft Learn: Guests in the Microsoft 365 admin center (opens in a new tab)
- Microsoft Learn: Add and manage B2B collaboration users in the Microsoft Entra admin center (opens in a new tab)
- Microsoft Support: Share SharePoint files or folders (opens in a new tab)
- Microsoft Learn: B2B collaboration invitation redemption (opens in a new tab)
- Microsoft Learn: Email one-time passcode authentication for B2B guest users (opens in a new tab)
- Microsoft Learn: Add your organization's privacy information to Microsoft Entra (opens in a new tab)
- Microsoft Learn: Configure external collaboration settings for B2B in Microsoft Entra External ID (opens in a new tab)
- Australian Cyber Security Centre: Small business cyber security handbook, Restrict and monitor access (published 7 October 2026) (opens in a new tab)
- Microsoft Support: Manage guest expiration for a site (opens in a new tab)
- Microsoft Learn: Restore or remove a recently deleted user (opens in a new tab)
- Microsoft Learn: Authentication and Conditional Access for External ID (opens in a new tab)
- Microsoft Learn: Monitor and clean up stale guest accounts using access reviews (opens in a new tab)