Announcing the new SharePoint Pages API in Microsoft Graph
We are pleased to announce significant updates to the SharePoint Pages API in Microsoft Graph, in response to customer feedback. This new version of the pages API is a great step forward on the capabilities supported in the Microsoft Graph. We expect to be in public preview (beta) by the end of November 2022. We are committed to shipping this API to general availability by the end of April 2023.
The updates are in two major areas:
- A newer data model in line with the latest developments in SharePoint modern pages technology.
- Improved page management capabilities compared to previous beta API
You can track the roll out for this Microsoft 365 roadmap item. We will be listening to feedback from customers and partners to iterate in the preview stage and then roll out to general availability (GA). Please provide feedback using our SharePoint dev GitHub issue list for easy engagement with our PMs and engineers.
This updated version of the SharePoint pages API will have a breaking change compared to the previously shipped preview version which has been available in the Microsoft Graph beta endpoint.
This update enables the following core operations:
- Get the list of all pages and news posts in any site.
- Get the contents of any page or news post.
- Create a page or news post
- Publish a page or news post
- Delete a page or news post
These operations can be combined to create effective solutions that can create content in many sites, delete and archive pages based on rules and many more. We are looking forward to feedback and input on the newly introduced changes.
This update is the start of an exciting roadmap of features in the SharePoint Pages API in Microsoft Graph. We cannot wait to share those with you in future posts.