Forum Discussion
Drives search endpoint suddenly stopped working
- Oct 28, 2024
We ended up changing our tool to support the /children/ endpoint instead, even though it's theoretically less performant for what we're trying to do. The /search endpoint is still not working for one of the users on our testing tenant. We found another user on that tenant that's configured identically and /search is working fine there. I'm convinced this is broken on MS's side, but I don't know how to get more visibility on this.
We ended up changing our tool to support the /children/ endpoint instead, even though it's theoretically less performant for what we're trying to do. The /search endpoint is still not working for one of the users on our testing tenant. We found another user on that tenant that's configured identically and /search is working fine there. I'm convinced this is broken on MS's side, but I don't know how to get more visibility on this.
- Troy_BigelowFeb 28, 2025Brass Contributor
Hey John,
We brought on another beta tester where the MS Graph Drive search wasn't returning any results. Had him try the Search Everything on onedrive.live.com. Then had him go back and try MS Graph Drive search, magically started working! I think there is some kind of initialization that happens on a user account when using browser search, but not for the Graph search. If stumble on how to resolve that with MS Graph, I'll post here, but the browser search is a quick workaround.
Cheers!
Troy
- Troy_BigelowJan 22, 2025Brass Contributor
Hey John,
I was seeing this same behavior with one of our internal testers. All of our other testers could search and get expected results. However, his search would always return 0 records. I had him login to OneDrive from his browser and try the Search everything (onedrive.live.com) which returned expected files. Unexpectedly, after searching in the browser, our MS Graph Drive search started working for him! Not sure if that is what resolved his search problem, but it certainly is quite a coincidence. We'll see how it plays out when we bring on some beta testers, if we come across another one, I'll try the browser Search everything, if it works, I'll come back with an update.
Cheers!
Troy