Share via

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 Security | Microsoft Graph

2 answers

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

    I have the same issue.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  2. CarlZhao-MSFT 46,456 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.

    Was 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.