Create a modern SharePoint site template with multiple pages using PnP provisioning engine
The PnP provisioning engine is a framework that allows you to create templates based on pre-built SharePoint sites. The framework was not built to be a migration tool and when a template is generated it only saves the home page, although the schema supports multiple pages.
In this article you can find a PowerShell script that saves a modern SharePoint site as a template with all the included pages.

HANDS ON tek
M365 Admin






