Hi,
I suggest you try to reset OneDrive:
https://support.microsoft.com/en-us/office/reset-onedrive-34701e00-bf7b-42db-b960-84905399050c
Then please go to File Explorer- Right click OneDrive folder- select Properties- Advanced button- Check the option 'Allow files in this folder to have contents indexed in addition to file properties'- Apply the changes and restart your computer.
Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.