Aug 26 2024 07:05 AM
Hello,
I would like to automate the process of creating pages, does anyone know how to do this?
Thanks in advance
Louis
Aug 26 2024 01:43 PM
Hi @louisquinet, there are some methods to create pages in SharePoint. You can use these MS Graph resources to create pages in SP https://learn.microsoft.com/en-us/graph/api/sitepage-create?view=graph-rest-1.0&tabs=http
I am not exactly sure what is your use case but you can also use tools like Cli for M365 -> https://pnp.github.io/cli-microsoft365/cmd/spo/page/page-add
or PnP PowerShell to achieve the same goal.