MC1558030 Microsoft OneDrive for Windows and Mac: node_modules folders will be excluded from sync by default
Primary service: OneDrive
ChangePilot summary
- OneDrive for Windows and Mac will stop syncing newly created folders named
node_modulesby default. - The change applies to work or school accounts using OneDrive-synced locations, including Desktop and Documents when Known Folder Move is enabled.
- Existing
node_modulesfolders already syncing will continue to sync; OneDrive will not remove existing cloud or local content. - Administrators can change the default behavior with existing OneDrive sync policies if these folders must continue to sync.
- IT should review developer guidance and helpdesk communications so users understand the new behavior before it takes effect.
What it means for you
What admins need to do
Review whether any developers or teams store active projects in OneDrive-synced folders. If node_modules content must continue to sync, update the relevant OneDrive sync policy before the rollout date to override the default exclusion. Update helpdesk runbooks, developer guidance, and internal communications so support staff can explain why new dependency folders may no longer appear in OneDrive or on other devices.
Impact on users
New node_modules folders created in OneDrive-synced locations will stay only on the local device and will not upload to OneDrive. Existing synced node_modules folders will continue to work as they do today. Users may notice that these folders do not appear on the web or on other devices unless IT changes the default sync policy.
If you miss it
If IT does nothing and the new default is acceptable, the main impact is limited to developer confusion when newly created node_modules folders do not sync. If your organization depends on those folders being available in OneDrive, missing the change could break expected workflows, cause missing files on other devices, and generate helpdesk tickets while developers rebuild local dependencies or request a policy exception.
- Admin controls available
- Yes
History
Recorded changes
No changes recorded since ChangePilot first saw this post.
Microsoft message
[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_modulesfolders 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_modulesfolders: OneDrive will exclude newly created folders namednode_modulesfrom 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_modulesfolders: 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]
- Deploy and configure the OneDrive sync app for Mac - SharePoint in Microsoft 365 | Microsoft Learn
- IT Admins - Use OneDrive policies to control sync settings - SharePoint in Microsoft 365 | Microsoft Learn
[Compliance considerations]
No compliance considerations identified. Review as appropriate for your organization.
More information
Details
In weekly changes
Platforms
- Windows
- Mac
Services
- Admin
- OneDrive
Category
- Plan for change
Microsoft tags
- Admin Action
- Feature Update
- User Adoption
Related changes
- MC1457838 New policies to control file exclusions Message Center · OneDrive · Admin Medium