All Content
Timespan
Using Microsoft Graph API & Power Automate for SharePoint Migration
Microsoft Graph
Sep 9, 2023 8:30 PM

Using Microsoft Graph API & Power Automate for SharePoint Migration

by HubSite 365 about Microsoft

Software Development Redmond, Washington

External YouTube Channel
Citizen Developer

Microsoft Graph

Experience an upgrade in SharePoint Pages management with Microsoft Graph API & Power Automate, offering streamlined migration and enhanced capabilities.

Creating Advanced SharePoint pages via the API and Power Automate

Th advancement of the API for SharePoint pages was announced by Microsoft, after taking customer feedback into consideration, these enhancements mark a significant stride in functionality. The anticipation is for public preview by end November 2022, and shipment for general access is aimed for the conclusion of April 2023.

The enhancements include a modernized data model that aligns with the progress in SharePoint modern pages technology, and substantial improvements to page management abilities over the former API version in beta.

To ensure seamless engagement with Project Managers and engineers, as well as tracking the rollout progress of the Microsoft 365 roadmap item, customers and partners feedback were noted and utilized. This updated API version also came with alterations from the previously available version in beta on the Graph service.

Core Operations of the Update

  • Get the list of all pages and news posts on any site
  • Access 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

This allows for the creation of versatile solutions that could create content across sites, establish rules for page deletion and archival, and other capabilities. The commencement of this exciting roadmap promises frameworks for SharePoint pages on the technology service.

 

More further updates can be found on the Microsoft 365 Dev Center, by joining the Microsoft 365 Platform community calls or following its Twitter account.

In his 8-minute demo aimed at developers, Giuliano De Luca showcased the beta capabilities of the Graph API, which targets SharePoint pages and includes list, creation, get, update, delete, publish, horizontal section, vertical sections, and web parts. Those new functions permit page modulations of SharePoint across the sites and tenants. The demonstration walked through a flow action to GET an existing page and another to POST a created page in an existed site.

The Purpose of the SharePoint Pages API

The API is a part of the unified API that enables developers to access and integrate Microsoft 365 functionality with other services and apps. To use the API, it requires authentication via the technology service and the necessary permission. It further allows for the creation and management of pages in any SharePoint site as long as applicable permissions are granted.

Notably, the API can be used in a variety of scenarios encompassing the creation and management of a company's intranet pages, custom page layouts, and integration of page content with other systems and services. This makes it a formidable tool for developers interested in creating custom solutions on the SharePoint platform.

 

 

Microsoft Graph - Using Microsoft Graph API & Power Automate for SharePoint Migration

Learn about Creating/Migrating SharePoint Pages using Microsoft Graph API & Power Automate

 

Creating or moving SharePoint Pages using the Graph API and Power Automate has recently undergone some significant enhancements as a result of customer feedback. This new and improved version is to be publicly previewed in November 2022 and is expected to be widely available by April 2023.

The updates consist of two main areas: firstly, a new data model that aligns with the latest SharePoint modern pages technology. Simultaneously, page management capabilities have seen notable improvement in comparison to the previous API beta version.

Interested individuals can keep track of this progress on the Microsoft 365 roadmap and offer their feedback. The SharePoint developers are using this input to better the upcoming generally available version.

The refreshed SharePoint pages API does differ from the previous preview version, namely in its inclusion of a breaking change. However, it also provides the following key actions - Obtaining a list of all pages and news posts in any site, accessing the contents of any page or news post, the creation, publication and deletion of a page or news post.

These can be collectively utilized to form effective solutions that can generate content across numerous sites, delete pages based on set regulations and much more. Therefore, the introduction of these changes is closely followed by eagerly anticipated feedback.

The Graph API targeted for SharePoint pages can perform several operations such as Get, Create, Update, Delete, Publish, manage Horizontal and Vertical sections, as well as Web part. These new capabilities are a part of an extremely beneficial roadmap of features for the SharePoint Pages API through Graph API.

  • Get more context with the associated PnP community demo!
  • Join based on the Microsoft 365 Platform community calls!
  • Stay updated by following relevant news on social media, such as Twitter.

These steps, including a Flow action to GET an existing page and POST a new page in existing site, allow users to harness page content as a JSON payload for migrating the full canvas of SharePoint pages across sites and tenants.

In the modern era, Microsoft Graph-the REST API termed SharePoint Pages API is another win for developers. This API grants developers the automatism to create, alter, and eliminate pages on a SharePoint site.

It empowers them to programmatically devise and control pages, manage page layout and formatting, as well as supervise its metadata. It's considered a fragment of the Graph API, which happens to be a unifying API for data and insights accessibility from MS 365.

This revolutionary tool, the REST SharePoint Pages API, allows developers to link the functionalities of Microsoft 365 with other applications or services. As a result, developers are granted centralized access to multiple services, increasing productivity and integration.

For using this API, you'll require proper authentication with the Office 365 developer tool, alongside the necessary permissions. You can use this API to generate or administer pages on any SharePoint site given you have the requisite permissions.

The utilization of the SharePoint Pages API can considerably help in multiple scenarios like creating and handling a company's intranet pages, curating custom page layouts, and integrating page content with other systems and services. Collectively, these benefits make it a potent tool for developers willing to formulate tailored solutions on the SharePoint platform.

Keywords

SharePoint Pages, Microsoft Graph API, Power Automate, Page Migration, SharePoint Creation, Graph API SharePoint, Automate SharePoint Pages, Microsoft API migration, Power Automate SharePoint, SharePoint with Graph API