A Microsoft file hosting and synchronization service.
Hello ronron_525,
Welcome to the Microsoft community.
What I will explain to you is that the problem is not on your OneDrive folder, but on the OneDrive search service.
The problem you described that you can't search for the location of files in OneDrive (OneDrive search bar not working) is a hot issue that has recently emerged. We've received feedback from users around the world who have encountered this issue. This issue is still being investigated. It exists in OneDrive Web and OneDrive Mobile for certain users. The development team says that this is a temporary issue and will be resolved as soon as possible. We apologize for any inconvenience this may cause and appreciate your patience.
The Microsoft community is just a community for technical discussions, so we don't engage in development-related content, but I've found the last channel for users to submit reports and feedback on this issue that was opened by the OneDrive team.
You can take a screenshot of the issue you're encountering and provide feedback about the issue using the OneDrive link (live.com))
So that they can fully understand the full picture of the problem and summarize the various symptoms of the problem they encounter to provide a more comprehensive solution.
▲ We will continue to monitor the issue in this reply thread and share the latest progress of the issue as soon as possible.
Best regards
Ian - MSFT | Microsoft Community Support Specialist