SharePoint Pages Migration from SharePoint 2016 on-premises to SharePoint Online Modern Pages

Copper Contributor

Hello,

 

We are migrating SharePoint 2016 on-premises to SharePoint Online. SharePoint 2016 contains publishing pages and custom page layouts. 

 

is there any way using PowerShell we can migrate and modernize the all the publishing pages and other classic pages to SharePoint Online modern pages?

 

Thanks,

 

6 Replies

Thanks @Steve Knutson,

 

I tried it but getting error as ConvertTo-PnPPage : could not find file PnP.Framework.resources

I am not sure what is missing.

Thanks,

 

Hi @Rajeshlohar You will need to install the latest PnP PowerShell module on to your PC to get the PnP resources. This link includes instructions for adding the module

https://pnp.github.io/powershell/articles/installation.html

Hi @Steve Knutson,

 

I already installed it. still it is throwing the same error.

 

Thanks,

I suggest taking a look a the PNP GitHub issues - it could be something like this causing the issue.
https://github.com/pnp/pnpframework/issues/110