-
Notifications
You must be signed in to change notification settings - Fork 1k
Missing field "createdDateTime" when retrieving pages of a site #8831
Copy link
Copy link
Closed
Labels
area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APICategory: SharePoint Client Side Object Model SDK / REST APItype:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active worktype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Metadata
Metadata
Assignees
Labels
area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APICategory: SharePoint Client Side Object Model SDK / REST APItype:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active worktype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Linux
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
When retrieving news items of a site using the Microsoft Graph API the field "createdDateTime" is missing. The url we're using is:
https://graph.microsoft.com/beta/sites/{siteId}/pages?expand=webparts&$filter=promotionKind%20eq%20'newsPost'
This returns all news items successfully, but without the specified field.****
Steps to reproduce
SharePoint-export.txt
Expected behavior
Following the documentation on https://learn.microsoft.com/nl-nl/graph/api/resources/baseitem?view=graph-rest-beta we would expect to see the field "createdDateTime" in the results.