logo
search
File Sharing Problems

Fix OneDrive External Sharing Requiring Sign-In Instead of Email Code

Tauseeq MagsiTauseeq Magsi Sep 28, 2026 868 views

Question details

External users are being prompted to sign in with an account instead of receiving an email verification code when accessing shared OneDrive or SharePoint folders in certain Microsoft tenants.

Fix OneDrive External Sharing Requiring Sign-In Instead of Email Code
Product
Microsoft OneDrive and SharePoint
Device & OS
not provided
Scenario
Sharing folders with external users across different Microsoft 365 tenants where authentication requirements vary.
Observed behavior
Users receive email verification codes seamlessly in one tenant, but are forced to sign in to another tenant, likely due to automatic guest account creation overriding the passcode settings.
Before you start

You will need Microsoft 365 global administrator or SharePoint administrator privileges to check and modify the Microsoft Entra ID and SharePoint external sharing settings.

Solution 1Recommended

Configure Microsoft Entra ID and SharePoint Sharing Settings

Adjust your tenant's external collaboration settings to ensure email one-time passcodes are prioritized over forcing Microsoft account sign-ins for guests.

When sharing with specific external people, Microsoft 365 might automatically create guest accounts in your directory. If one-time passcode authentication isn't properly configured or if domain settings override it, users will be prompted to log in instead of receiving a verification code.

1
Access Microsoft Entra Admin Center

Go to the Microsoft Entra admin center (entra.microsoft.com) and sign in with your administrator credentials.

2
Navigate to External Identities

In the left navigation menu, expand 'Identity', click on 'External Identities', and then select 'External collaboration settings'.

3
Enable Email One-Time Passcode

Locate the 'Email one-time passcode for guests' setting. Ensure that it is enabled for your tenant so guests can use passcodes instead of creating Microsoft accounts.

4
Check SharePoint Sharing Policies

Open the SharePoint admin center, navigate to Policies > Sharing, and verify that external sharing is set to allow 'New and existing guests' to ensure compatibility with your Entra ID settings.

Configure Microsoft Entra ID and SharePoint Sharing Settings
Security Policies: Modifying external collaboration settings can impact your organization's security posture. Always verify that relaxing guest access rules complies with your internal IT security policies.
Free Microsoft Office alternative

Collaborate Seamlessly with WPS Office

If complex tenant sharing settings and Microsoft 365 authentication policies are slowing down your team's collaboration, try WPS Office. It provides a lightweight, highly compatible alternative with built-in cloud sharing features that are incredibly easy to manage.

  1. 1. Download WPS Office: Visit the official WPS website and download the free desktop application for your operating system.
  2. 2. Open Office Documents: Open your existing .docx, .xlsx, or .pptx files directly in WPS Office without worrying about formatting loss.
  3. 3. Share via WPS Cloud: Use the built-in WPS Cloud sharing feature to quickly generate secure, simple sharing links for external collaborators.
Simplified file sharing and cloud collaboration without complex tenant administration.Highly compatible with Microsoft Office formats, including Word, Excel, and PowerPoint.Free and lightweight alternative to Microsoft 365, perfect for individuals and agile teams.Familiar user interface ensuring a smooth transition with zero learning curve.
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive force a sign-in instead of sending an email verification code?

This usually happens when the external user's email is already registered as a guest account in your Microsoft Entra ID (formerly Azure AD), or if the tenant policies strictly require authenticated sign-in rather than allowing email one-time passcodes.

How do I share a OneDrive folder without requiring the recipient to sign in?

When configuring your share settings, select the option 'Anyone with the link' instead of 'Specific people'. This creates an anonymous link that does not require the recipient to have or sign into a Microsoft account, provided your organization's policies allow it.

Is the email verification code feature secure for external sharing?

Yes, the email one-time passcode provides a secure, temporary authentication method. It verifies the recipient's identity by ensuring they have access to the email address the invitation was sent to, without forcing them to manage a separate Microsoft account password.