MC1558030 High Major change

Microsoft OneDrive for Windows and Mac: node_modules folders will be excluded from sync by default

  • User
  • Admin

Summary AI-generated

OneDrive sync app will exclude new node_modules folders from syncing by default starting December 14, 2026, to improve performance and reduce storage/bandwidth use. Admins can override this via sync policies.

Suggested actions AI-generated

  • Update OneDrive sync policies before December 14, 2026 if node_modules syncing is required
  • Update helpdesk and developer guidance
  • Notify developers using OneDrive-synced locations

Written by Azure OpenAI (gpt-4.1) from the text of the post below. It can be incomplete or wrong; the original post is authoritative.

  • MC1430530 Microsoft OneDrive: Exclude specific folders from syncing

    Microsoft OneDrive: Exclude specific folders from syncing OneDrive now lets admins exclude specific folders (like dev tool folders) from sync, improving storage efficiency and control; the feature is off by default and requires admin setup. [What and Why:] Microsoft is introducing a new OneDrive capability that allows organizations to exclude.

  • MC1457838 Microsoft OneDrive: New policies to control file exclusions

    Microsoft OneDrive: New policies to control file exclusions OneDrive users on Windows and macOS will soon be able to manage their own file-level exclusions by default; admins can control this behavior with new policies. .db-wal files will be excluded by default from Oct 5, 2026. [What and why] Microsoft is introducing two new OneDrive policies.

  • MC1458483 (Updated) OneDrive macOS Native Sync Engine

    (Updated) OneDrive macOS Native Sync Engine Microsoft is introducing a new Native Sync Engine for OneDrive on macOS to improve sync speed, reliability, and resource efficiency, with changes visible in Finder for SharePoint libraries. Updated August 24, 2026: We have updated the timeline. [ What and why:] We're introducing a new Native Sync.

  • MC1426708 (Updated) End of support for OneDrive sync app on Windows 10 21H2 and earlier

    (Updated) End of support for OneDrive sync app on Windows 10 21H2 and earlier Microsoft will end OneDrive sync app updates for devices running Windows 10 version 21H2 and earlier starting August 15, 2026 to align with the Windows lifecycle policy. Updated July 17, 2026: We have updated the content. [What and Why:] Microsoft is ending OneDrive.

  • MC1269861 OneDrive: Files deleted from the cloud will no longer appear in the local Recycle Bin or Trash

    OneDrive: Files deleted from the cloud will no longer ap... [Introduction] To improve OneDrive sync performance and make file recovery more predictable, OneDrive will change how cloud-initiated file deletions are handled on local devices. When a file that is locally available on a device is deleted from the cloud, it will no longer appear in the.

  • MC1242782 (Updated) Set a custom name for the OneDrive sync folder

    Thank you for your patience. [Introduction] To help reduce Windows file path length issues and improve the local file system experience, IT admins can now set a custom name for the local OneDrive sync root folder on users’ Windows devices using the policy Set a custom name for the OneDrive sync folder with the String ID .

Original post from Microsoft

[What and why]

We are updating the OneDrive sync app for Windows and Mac to exclude new folders named node_modules from syncing by default, beginning December 14, 2026. This change extends OneDrive's existing default exclusion list, which includes .db-wal files, as mentioned in MC1457838 on October 5, 2026.

JavaScript and Node.js projects can generate tens of thousands of small dependency files in node_modules folders. This change is intended to improve sync performance and reduce unnecessary storage and bandwidth usage. Developers can rebuild these folders using their package manager.

[Rollout schedule]

  • General Availability (Worldwide): Rollout will begin on December 14, 2026, and is expected to complete by mid-January 2027.

[Impact on your organization]

Who is affected

  • Users with work or school accounts who create node_modules folders in OneDrive-synced locations, including Desktop and Documents folders managed through Known Folder Move.

Platforms and services

  • OneDrive for Windows
  • OneDrive for Mac

What will happen

  • New node_modules folders: OneDrive will exclude newly created folders named node_modules from syncing by default. These folders will remain on the device and will not upload to OneDrive.
  • Folder name matching: The exclusion applies to folders named exactly node_modules, regardless of capitalization.
  • Existing node_modules folders: Folders that are already syncing will continue to sync. OneDrive will not remove existing content from the cloud or devices.
  • User experience: Users will not receive prompts. Excluded folders will continue to function locally but will not be available through OneDrive on the web or other devices.
  • Administrative controls: Administrators can use existing OneDrive sync policies to turn off the default exclusion list if their organization needs these folders to sync.

[Action required and recommendations]

No action is required if your organization wants to use the new default behavior. If your organization needs node_modules folders to continue syncing, configure the appropriate OneDrive sync policies before December 14, 2026.

We recommend that you update your helpdesk and developer guidance to reflect the new default behavior and notify developers who maintain code projects in OneDrive-synced locations.

[Learn more]

[Compliance considerations]

No compliance considerations identified. Review as appropriate for your organization.

Additional details from Microsoft

Summary
Starting December 14, 2026, OneDrive for Windows and Mac will exclude new folders named "node_modules" from syncing by default to improve performance. Existing synced folders remain unaffected. Administrators can disable this exclusion via policy if needed. No user prompts will occur, and local folder use continues.