Share via

Issues regarding with MSGraph API (Specifically for Sharepoint related endpoints)

Kenny Bean 0 Reputation points
2025-09-15T19:41:08.1066667+00:00

When utilizing the MS Graph REST API, discrepancies have been observed between the received data from endpoints and the expectations set forth in the documentation.

The following issues are currently being encountered:

  1. When retrieving a site page via the endpoint sites/{site_id}/pages/{page_id}/microsoft.graph.sitePage, the expected structure for "createdBy" is not received as indicated in the documentation. Instead of { id: <>, displayName: <>, email: <>}, only {displayName: <>} is returned. This limitation is problematic for the Azure application, as the displayName does not guarantee uniqueness for confirming the creator of a page.
  2. While fetching versions of documents within a drive using the endpoint drives/{drive_id}/items/{item_id}/versions, versions appear to be returned only in descending order. Is there a way to retrieve them in ascending order? Various query parameters have been attempted with no success.
  3. Is it possible to use the file picker with MS Graph REST API credentials? The current requirement is to handle two types of credentials (SharePoint credentials and MS Graph credentials) for each user, which complicates the usage of both the file picker and the MS Graph endpoints.
  4. Is there a method to filter items by modifiedDate when pulling drive items from the MS Graph endpoint? Presently, the SharePoint API is used to filter items within a date range, but the preference is to accomplish this using the MS Graph endpoint.

Thank you for any assistance provided. Kenny Bean

Microsoft Security | Microsoft Graph
0 comments No comments

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.