MC1558030: OneDrive excludes node_modules folders by default
Microsoft OneDrive · Message Center
Published Nov 17, 2026 · Updated Nov 17, 2026
Action required
Action required by Dec 14, 2026All deadlines
Written by AI from the Message Center text.
TL;DR
New folders named node_modules will no longer sync to OneDrive by default on Windows and Mac. Existing synced node_modules folders keep syncing, and their content stays in the cloud and on devices. Admins can use existing sync policies to turn off the default exclusion.
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.
What to do
- Configure OneDrive sync policies before December 14, 2026 if node_modules folders must keep syncing.
- Update helpdesk and developer guidance to reflect the new default behavior.