Drives search endpoint suddenly stopped working
We are facing an issue where the following endpoint has suddenly stopped working (as of 2024-10-23) for only one of our accounts:
https://graph.microsoft.com/v1.0/me/drive/root/search(q=’.xls’)
I am able to see the Excel workbooks I’m searching for /drive/root/children endpoint, but the /search is returning no results in one of the two accounts. I know indexing can be an issue that causes a delay for results to show up from /search, but many of the files on the affected account have been there for 6 months.
Comparing the working account to the failing one, I don’t see any significant difference in the requests. For both accounts, the OAuth scopes requested are the same (from the decoded Bearer token):
“scp”: “AllSites.Read Files.Read Files.Read.All Files.Read.Selected Files.ReadWrite Files.ReadWrite.All Files.ReadWrite.AppFolder Files.ReadWrite.Selected Sites.Read.All Sites.ReadWrite.All profile openid email”
Both accounts are Business OneDrive accounts. I can even access the workbooks directly on the failing account from the following endpoint:
So it seems that /search is simply not working. Our tool is reliant on the /search endpoint, so it would not be a quick fix to change this and it is affecting some of our customers as well.
Is this a known issue or does anyone have another clue on what to check? I’m wondering if search indexing is broken on this account (and our customer’s account), but I don’t know of any way to force it to re-index the files.
We are facing an issue where the following endpoint has suddenly stopped working (as of 2024-10-23) for only one of our accounts: https://graph.microsoft.com/v1.0/me/drive/root/search(q=’.xls’) I am able to see the Excel workbooks I’m searching for /drive/root/children endpoint, but the /search is returning no results in one of the two accounts. I know indexing can be an issue that causes a delay for results to show up from /search, but many of the files on the affected account have been there for 6 months. Comparing the working account to the failing one, I don’t see any significant difference in the requests. For both accounts, the OAuth scopes requested are the same (from the decoded Bearer token): “scp”: “AllSites.Read Files.Read Files.Read.All Files.Read.Selected Files.ReadWrite Files.ReadWrite.All Files.ReadWrite.AppFolder Files.ReadWrite.Selected Sites.Read.All Sites.ReadWrite.All profile openid email” Both accounts are Business OneDrive accounts. I can even access the workbooks directly on the failing account from the following endpoint: https://graph.microsoft.com/v1.0/me/drive/items/017ZHZ4ENXPMNDLB52LFF3ZX55FHHUGZ3F/workbook/worksheets So it seems that /search is simply not working. Our tool is reliant on the /search endpoint, so it would not be a quick fix to change this and it is affecting some of our customers as well. Is this a known issue or does anyone have another clue on what to check? I’m wondering if search indexing is broken on this account (and our customer’s account), but I don’t know of any way to force it to re-index the files. Read More