← Back to articles M365

M365 Next-Gen Sharing: Secure by Default, Governed by Design

M365 Next-Gen Sharing: Secure by Default, Governed by Design

Microsoft 365's new sharing experience marks a significant evolution in how files and folders are shared, moving to a fundamentally "secure by default" posture. For M365 and Intune engineers, grasping this paradigm shift is crucial for implementing robust data governance, streamlining external collaboration, and ensuring compliance across the organization. This update is deeply integrated with Entra ID (formerly Azure AD), Microsoft Purview, and granular SharePoint Online controls, empowering administrators with unprecedented control while simplifying the user experience.

Important Caveat This new sharing experience is gradually rolling out globally. While core principles are stable, some tenant-specific behaviors or UI elements may still be in flux. Always test changes thoroughly in a non-production environment.

The Big Picture: M365 Next-Gen Sharing Architecture

At its core, the next-gen sharing experience weaves together several critical Microsoft 365 services to create a unified and highly governable collaboration framework. Entra ID provides the identity backbone, Purview enforces data loss prevention (DLP) and sensitivity labels, and SharePoint Online acts as the primary content repository with enhanced sharing controls. This architecture ensures that sharing policies are applied consistently, regardless of where the sharing originates.

Entra ID (Identity & Access) SharePoint Online (Content Store) Microsoft Purview (Governance & DLP) User Experience (OneDrive, Teams) Internal User (Managed Identity) External User (Guest Account) Authentication Policy Enforcement Sensitivity Labels Sharing Controls Access / Share Access / Share UI Interactions
Overview of the M365 Next-Gen Sharing Architecture, showing how Entra ID, SharePoint Online, and Purview collaborate to govern content sharing for both internal and external users.

Concept Primer: Secure by Default

The most impactful change in the next-gen sharing experience is the shift from a potentially open default to a "secure by default" model. Previously, it was common for SharePoint Online tenants to have "Anyone with the link" sharing enabled by default, often leading to unintended broad access. The new approach prioritizes internal collaboration and explicit external sharing, drastically reducing the risk of accidental data exposure.

BEFORE Default: Anyone Link No Auth, Broad Access Easy Over-Sharing Limited Controls Manual Remediation Data Sprawl Risk Reactive Governance Audit Logs Only AFTER Default: Specific People Auth Required, Least Privilege Controlled Sharing Granular Controls Purview Integration Proactive DLP Governed by Design Automated Policies
A comparison of the "Before" (old default) and "After" (new secure by default) sharing experiences in Microsoft 365.
Pro Tip: Educate Your Users The shift to "secure by default" might initially cause friction for users accustomed to broader sharing. Proactive communication and training on the new sharing options, especially "Specific People" links, are vital for a smooth transition.

Sharing Link Types: A Granular Approach

The new sharing experience puts a stronger emphasis on understanding and utilizing the different link types available. Each type offers distinct levels of security and access control, making it critical for administrators to configure appropriate tenant and site-level defaults, and for users to select the right option for their sharing needs.

ANYONE WITH THE LINK ! Lowest Security No authentication required. Accessible to anyone who has the link, even if forwarded. High risk of data exposure. Use with extreme caution for public, non-sensitive content. PEOPLE IN YOUR ORG ? Medium Security Requires M365 account login within your organization. Link can be forwarded internally. Risk of internal over-sharing. Good for broad internal access to non-sensitive content. SPECIFIC PEOPLE Highest Security Only works for explicitly named individuals (internal or external). Requires authentication. Minimizes unauthorized access. Ideal for confidential data and targeted collaboration.
A breakdown of the three primary sharing link types and their associated security implications.
Critical Failure Point: Anonymous Links While "Anyone with the link" is often restricted, if allowed, it bypasses all authentication. Misuse of this link type is the leading cause of accidental data breaches in SharePoint and OneDrive. Always enforce expiration and password protection if this option is enabled.

Step-by-Step: Configuring Tenant-Wide Sharing Defaults

As an M365 engineer, your primary control point for next-gen sharing is the SharePoint Admin Center. Here, you can define the default sharing link type and permissions, as well as external sharing capabilities for your entire tenant. These settings cascade down to sites and individual files, though site owners can often configure stricter policies.

  1. Access SharePoint Admin Center

    Navigate to the SharePoint Admin Center and locate the "Sharing" settings. This is where you'll define the overarching external sharing capabilities for your organization.

    https://admin.microsoft.comShow allSharePointPoliciesSharing
  2. Set External Sharing Level

    Choose the most restrictive external sharing level that still meets your business needs. For "secure by default," this often means limiting "Anyone" links or disabling them entirely.

    • Anyone: Files and folders can be shared using links that don't require sign-in. (Least secure)
    • New and existing guests: Guests must sign in or provide a verification code.
    • Existing guests only: Only guests already in your organization's directory.
    • Only people in your organization: No external sharing allowed. (Most secure)
    Recommendation: For most organizations, "New and existing guests" is a balanced default, allowing controlled external collaboration. Avoid "Anyone" unless absolutely necessary and with strict controls.
  3. Configure Default Link Type

    This is a critical setting for the "secure by default" model. Set the default sharing link to "Specific people" or "People in your organization" to ensure that users explicitly choose broader access if needed.

    // In SharePoint Admin Center > Sharing settings
    Default link type:Specific people // Recommended for secure by defaultOnly people in your organizationAnyone with the link // Avoid unless specific business need
    
    Default link permission:ViewEdit
  4. Implement PowerShell for Granular Control

    For advanced or automated configuration, use SharePoint Online PowerShell. The Set-SPOTenant cmdlet is your friend.

    # Connect to SharePoint Online Admin Service
    Connect-SPOService -Url https://yourtenant-admin.sharepoint.com
    
    # Set tenant-wide external sharing to 'New and existing guests'
    Set-SPOTenant -SharingCapability ExternalUserAndGuestSharing
    
    # Set default sharing link type to 'Specific People'
    Set-SPOTenant -DefaultSharingLinkType Direct # 'Direct' maps to Specific people
    
    # Set default sharing link permission to 'View'
    Set-SPOTenant -DefaultSharingLinkToExistingAccess View

What's New: Purview Integration for Contextual Governance

A significant enhancement in next-gen sharing is the deeper integration with Microsoft Purview. Sensitivity labels, configured in Purview, can now directly influence sharing options, enforcing policies based on the content's classification. This means a document marked "Confidential" can automatically restrict sharing to "Specific people" only, regardless of tenant defaults.

DOCUMENT CREATION User creates document in Word/Excel/PowerPoint No Label Default Sharing Applied ("People in Org") THEN PURVIEW LABEL APPLIED User applies label (or auto-applied) e.g., "Confidential" Confidential Label Sharing Policy Overridden ("Specific People" only) RESULT ENFORCED SHARING Sharing options restricted based on label policy. "Anyone" disabled User experience guided by data sensitivity.
How Microsoft Purview Sensitivity Labels override default sharing policies to enforce data governance contextually.

Key SharePoint Online Sharing Properties

Understanding the various SharePoint Online properties related to sharing is essential for fine-tuning your tenant's collaboration posture. These settings can be configured at the tenant level and, in some cases, overridden or further restricted at the site collection level.

Property Description Applicability PowerShell Cmdlet
SharingCapability Defines the overall external sharing level for the tenant. Tenant Set-SPOTenant
DefaultSharingLinkType Sets the default link type when users share files/folders. Tenant, Site Set-SPOTenant, Set-SPOSite
DefaultSharingLinkToExistingAccess Sets the default permission for sharing links (View/Edit). Tenant, Site Set-SPOTenant, Set-SPOSite
BlockPeopleSpecificLinkSharing NEW Prevents users from sharing to specific people outside the organization if set to true. Tenant Set-SPOTenant
RequireAcceptingAccountMatchInvitedAccount NEW Ensures external users sign in with the exact account they were invited with. Tenant Set-SPOTenant
AllowAnonymousLinkAccessToSpecificUsers Controls if anonymous links can be shared to specific users (rarely used). Tenant Set-SPOTenant
AllowLimitedAccessToWebParts Determines if users with limited access can view web parts on pages. Tenant Set-SPOTenant

Permissions and Licensing Requirements

To effectively manage and configure M365 Next-Gen Sharing, specific administrative roles and licensing are required. Incorrect permissions can lead to configuration silos or security gaps.

CONFIGURATION AREA Tenant-wide Sharing Site-level Sharing Purview Sensitivity Labels External User Management REQUIRED ADMIN ROLE SharePoint Administrator SharePoint Administrator (or Site Owner) Compliance Admin (or Global Admin) User Administrator (or Global Admin) LICENSING IMPACT M365 E3/E5 M365 E3/E5 M365 E5 / Purview Add-on M365 E3/E5
Administrative roles and licensing considerations for managing M365 Next-Gen Sharing capabilities.

Use Cases: Why This Matters for Your Organization

The "secure by default" sharing model isn't just about security; it's about enabling safer, more efficient collaboration. By understanding and implementing these changes, organizations can achieve several key benefits:

Enhanced Security Minimizes accidental data exposure by defaulting to restricted sharing options. Protects sensitive information. Simplified Compliance Integrates with Purview to enforce data governance policies automatically, reducing audit burden. Improved External Collab Provides controlled guest access, ensuring external partners only see what's intended, with proper auth. User Empowerment Self-Service Reviews Granular Justification Purview Alerts
Figure: Core Pillars of Modern Microsoft 365 Next-Gen Sharing and Zero-Trust Data Governance.

Best Practices & Governance Implementation Roadmap

Modernizing external sharing in Microsoft 365 is not merely about disabling anonymous links—it requires an intentional, multi-layered architecture combining SharePoint, OneDrive, Teams, and Microsoft Purview:

1. Enforce Sensitivity-Driven Container Controls Do not rely on tenant-wide blanket sharing switches alone. Apply Microsoft Purview Sensitivity Labels directly to SharePoint sites and Microsoft 365 Groups to automatically dictate whether guest access is permitted, requiring authentication context based on data classification.
2. Implement Automatic Link Expiration & Verification Configure org-wide external link expiration periods (e.g., 30–60 days max) and enforce re-verification codes for one-time passcodes (OTP). This guarantees stale external permissions are cleaned up systematically without manual administrator intervention.
3. Leverage Entra ID Access Reviews for Continuous Hygiene Automate recurring quarterly Access Reviews for all guest users in sensitive Teams and SharePoint sites. Site owners are prompted with AI-assisted recommendations to remove inactive external collaborators.

Summary & Key Takeaways for Administrators

By transitioning from reactive link cleanups to a modern "Secure by Default, Governed by Design" framework, organizations achieve high-velocity collaboration without sacrificing corporate data sovereignty.

  1. Disable "Anyone" Anonymous Links Org-Wide: Set the default tenant sharing link type to "Specific People" or "People in your organization".
  2. Bind Sharing to Sensitivity Labels: Automate external sharing restrictions based on site and container confidentiality ratings.
  3. Deploy Entra B2B Direct Connect: Replace unmanaged guest invitations with trusted cross-tenant access settings for primary enterprise partners.
  4. Monitor via Microsoft Purview Audit: Track FileShared, AnonymousLinkCreated, and SecureLinkCreated events in your centralized SIEM/Sentinel.
💡 Pro Tip for Enterprise Deployments Pair your sharing policies with Conditional Access session controls (e.g. blocking downloads or printing for unmanaged devices) so external guests can view and co-author critical documents without exfiltrating raw files to personal endpoints.

Was this article helpful?

🎁 Free Community Assets

Functional Resources

Jump-start your automation with these production-ready assets associated with this guide.

Project Blueprint

ShareGuard 365

Helps IT admins and MSPs instantly audit, visualize, and enforce secure-by-default sharing policies across all M365 tenants from one dashboard.

View Technical Blueprint

🎓 Ready to go deeper?

Practice real MD-102 exam questions, get AI feedback on your weak areas, and fast-track your Intune certification.

Start Free Practice → Book a Session
Souhaiel Morhag
Souhaiel Morhag
Microsoft Endpoint & Modern Workplace Engineer

Souhaiel Morhag is a Microsoft Intune and endpoint management specialist with hands-on experience deploying and securing enterprise environments across Microsoft 365. He founded MSEndpoint.com to share practical, real-world guides for IT admins navigating Microsoft technologies — and built the MSEndpoint Academy at app.msendpoint.com/academy, a dedicated learning platform for professionals preparing for the MD-102 (Microsoft 365 Endpoint Administrator) certification. Through in-depth articles and AI-powered practice exams, Souhaiel helps IT teams move faster and certify with confidence.

Related Articles

Popular on MSEndpoint