SharedWithMe endpoint wrong size and lastModifiedDateTime

Drake, Jared Bradley 6 Reputation points
2021-07-08T14:47:47.11+00:00

https://graph.microsoft.com/v1.0/me/drive/sharedWithMe?$top=5000 returns incorrect information including LastModifiedDateTime and Size:

114591-1.png

When getting the item with https://graph.microsoft.com/v1.0/drives/b!jWogh66yJkGn88Bx39SZEq8nWcMIu4xBtHRml83oI_eUjSojCZAtSpb-eAdT6rLP/items/01VHOGXYI7B5ELUDPMH5ALEPSMHCGPREZY it returns the correct information:

114567-2.png

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,521 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Ciaran 6 Reputation points
    2021-10-22T11:02:25.88+00:00

    I have the same issue.

    1 person found this answer helpful.
    0 comments No comments

  2. CarlZhao-MSFT 36,736 Reputation points
    2021-07-09T10:06:08.933+00:00

    Judging from the screenshots of your two requests, it is obvious that the file has been modified once in "2021-07-08T14:36:33Z". From the lastModifiedBy parameter in the second screenshot, should use the application permission without user participation, and the application modified the file on behalf of a principal. So the size and lastModifiedDateTime parameters in the second screenshot have been changed.

    As for the different results you got using the /sharedWithMe endpoint, I think there should be no synchronization.