Jan 2, 2023 7:00 AM

How to create or migrate SharePoint pages with Microsoft Graph API and Power Automate

External YouTube Channel

In this 8-minute developer-focused demo, Giuliano De Luca showcases new beta capabilities in Graph API targeting SharePoint pages include List, Create, Get, Upd

In this 8-minute developer-focused demo, Giuliano De Luca showcases new beta capabilities in Graph API targeting SharePoint pages include List, Create, Get, Update, Delete, Publish, Horizontal section, Vertical section, Web part. The new capabilities allow users to migrate the full canvas of SharePoint pages across sites and tenants. Step through a Flow action to GET an existing page and another action to POST a new page in existing site. Page content is a JSON payload.

This PnP Community demo is taken from the Microsoft 365 & Power Platform Development Community call recorded on December 8, 2022.

Demo Presenter - Giuliano De Luca | @DeLucaGiulian

Supporting materials

The SharePoint Pages API

The SharePoint Pages API in Microsoft Graph is a REST API that allows you to create, read, update, and delete pages in a SharePoint site. It can be used to programmatically create and manage pages in a SharePoint site, including creating and updating page content, managing page layout and formatting, and managing page metadata.

The SharePoint Pages API is a part of the Microsoft Graph API, which is a unified API for accessing data and insights from Microsoft 365. The Microsoft Graph API allows developers to access and integrate the functionality of Microsoft 365 with other applications and services.

To use the SharePoint Pages API, you will need to authenticate with Microsoft Graph and have the appropriate permissions. You can use the API to create and manage pages in any SharePoint site, provided that you have the necessary permissions.

The SharePoint Pages API can be used in a variety of scenarios, including creating and managing pages for a company's intranet, building custom page layouts, and integrating page content with other systems and services. It is a powerful tool for developers who want to build custom solutions on top of the SharePoint platform.