Graph API '/me/drive/sharedWithMe' endpoint returns just one item.

Michael Golichecnko 95 Reputation points
2025-11-11T13:20:39.01+00:00

Hi, I am experiencing an issue with the me/drive/sharedWithMe API endpoint. I have multiple files and folders that are shared with me in OneDrive and are visible in web interface, but when I try to access these shared items via the API, I only see a single item being returned.

This issue occurs both in my JavaScript code and when testing directly with Postman calls. These were items that had previously been accessible through the API, and there have been no code changes on my end. The API was working perfectly fine until last week Wednesday, November 5th, 2025, and then suddenly stopped returning the full list of shared items.

One of the scopes I'm using is Files.ReadWrite.All (delegated), which should provide sufficient permissions for this operation based on Graph API documentation.

Any help and feedback would be greatly appreciated!

Thanks.

Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Jaxe H8k 10 Reputation points
    2025-11-20T23:01:36.7133333+00:00

    Looks like they're deprecating it, and maybe jumped the gun and outright disabled it...

    https://github.com/microsoftgraph/microsoft-graph-docs-contrib/blob/main/api-reference/v1.0/api/drive-sharedwithme.md

    see also

    https://learn.microsoft.com/en-us/graph/api/drive-sharedwithme?view=graph-rest-1.0&tabs=http

    Looks like they added the deprecation flag on Nov 13th 2025.

    Sorry everybody, hate to share the bad news. I got bit by it too. :(

    2 people found this answer helpful.

Your answer

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