Getting late response in insights/shared api even user shared a doc with me

Niraj Bagde 20 Reputation points
2024-12-18T06:48:26.45+00:00

One user share folder with me but when I used https://graph.microsoft.com/v1.0/me/insights/shared

API but not in present in response

can anyone help me with filter out response by file name shared or after what duration I should wait to reflect sharing

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,766 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,253 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yakun Huang-MSFT 8,825 Reputation points Microsoft Vendor
    2024-12-18T08:50:48.4466667+00:00

    Hello Niraj Bagde,

    Thank you for reaching out to Microsoft Support!

    According to your description, we conducted a test on this endpoint. When other users shared documents with me, they could get the files shared through the /me/insights/shared endpoint in about one or two minutes. The test results are as follows:

    User's image

    Screenshot 2024-12-18 084638

    For the response we can use the $filter query parameter to filter, but after testing, unfortunately the file name does not support filtering, you can filter according to the file type or the person sharing.

    Reference document:

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

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


0 additional answers

Sort by: Most helpful

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.