I have the same issue.
SharedWithMe endpoint wrong size and lastModifiedDateTime
https://graph.microsoft.com/v1.0/me/drive/sharedWithMe?$top=5000
returns incorrect information including LastModifiedDateTime and Size:
When getting the item with https://graph.microsoft.com/v1.0/drives/b!jWogh66yJkGn88Bx39SZEq8nWcMIu4xBtHRml83oI_eUjSojCZAtSpb-eAdT6rLP/items/01VHOGXYI7B5ELUDPMH5ALEPSMHCGPREZY
it returns the correct information:
2 answers
Sort by: Most helpful
-
-
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 thesize
andlastModifiedDateTime
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.