Fix Spotlight Not Searching Unopened OneDrive Folders on Mac
Question details
Spotlight fails to return search results for files inside shared or cloud-only OneDrive folders until those folders have been manually opened locally.

- Product
- OneDrive for Mac
- Device & OS
- Mac
- Scenario
- Searching for files in cloud-only or shared OneDrive directories using Mac's Spotlight search.
- Observed behavior
- Spotlight returns no search results for files inside unopened OneDrive folders since the transition to the File Provider platform, though the same searches work fine on the OneDrive website.
Verify that the files actually exist by searching for them on the OneDrive web interface, and ensure your macOS is updated to the latest version to rule out OS-level Spotlight bugs.
Install the Latest OneDrive Insider Updates
Updating to the newest OneDrive builds, particularly Insider builds, can improve basic file metadata indexing for unopened cloud files.
The underlying issue is related to how Apple's File Provider framework handles cloud-only files. Microsoft continually patches OneDrive to improve metadata syncing. A newer OneDrive update brings basic file information to Spotlight even if the file hasn't been opened locally.
Click the OneDrive cloud icon in your Mac menu bar, click the gear icon (Help & Settings), and select 'Preferences'.
Navigate to the 'About' tab within the OneDrive settings window. Check the box that says 'Get OneDrive Insider preview updates before release'.
Allow OneDrive to download and install the latest Insider build. Once the update is complete, restart your Mac to ensure Spotlight registers the new file provider changes.

Manually Browse Folders to Trigger Local Indexing
Since the File Provider architecture requires local presence for rich metadata, manually opening the folders will allow Spotlight to index them.
Manage Your Documents Seamlessly with WPS Office
While OneDrive's Spotlight indexing is a known macOS limitation with the new File Provider architecture, you can streamline your workflow by switching to WPS Office. It provides a lightweight, highly compatible alternative to Microsoft Office, complete with a built-in file manager to help you locate documents easily.

Frequently Asked Questions
Why did Spotlight stop searching my OneDrive files on Mac?
Microsoft transitioned OneDrive for Mac to Apple's new File Provider platform. Under this updated architecture, cloud-only files may not have their metadata immediately indexed by Spotlight until the directories are browsed or the files are downloaded locally.
Are my files safe if Spotlight cannot find them?
Yes, your files are completely safe in the cloud. You can still access and search for all your files by logging into the OneDrive website or by manually navigating through the OneDrive folder using Finder.
Will rebuilding the Spotlight index fix this OneDrive search issue?
Rebuilding the Spotlight index typically does not resolve this specific issue, because the limitation lies in how the File Provider platform handles metadata for unopened cloud files. Installing the latest OneDrive updates is the best approach.




