When searching for drive items by path in the search api some drive items are missing driveID

David Cole 0 Reputation points
2024-07-18T16:47:40.7566667+00:00

A large portion of documents in some of my SharePoint sites are missing driveID when searched for in the graph search api. For these documents I tried to create a download link for them from sharepoint using their listID + listItemID (ex: https:/####.sharepoint.com/sites/####/_api/Web/Lists('####-#####-#####')/Items(####)/File/$value), but I am getting a 404 from that link for only files that do not have a driveId. I have not been able to find any information or other people who are experiencing this issue so any information on how to fix this issue would be appreciated.

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.