Files shared with a service user do not show up in Graph API "Shared With Me" for hours

Max Uppenkamp 0 Reputation points
2025-04-15T08:42:49.5866667+00:00

We want to give our users the ability to attach files to a service by sharing it with a service user.

This service user is used to call the Graph API in order to list the files shared with it based on a sharing link or token. This all works fine, but there is an issue:

When files shared with the service user it immediately receives a notification email, and can access the files just fine, however the Graph API call does not list the newly shared files until hours later.

There has been a post describing the same issue on Microsoft Answers:

https://answers.microsoft.com/en-us/msteams/forum/all/teamsonedrive-file-sharing-delay-shared-file-not/4b754855-fcd4-4698-abb7-ff5e9177ae21
I'm looking for a fix or a workaround for this issue, as it is currently impeding the way our service works.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,521 questions
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.