Forum Discussion
Rajeshlohar
Apr 15, 2022Copper Contributor
SharePoint Pages Migration from SharePoint 2016 on-premises to SharePoint Online Modern Pages
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 ...
SteveKnutson
Apr 18, 2022MVP
Rajeshlohar I think this is what you are looking for Transform classic pages to modern pages using PowerShell | Microsoft Docs
- RajeshloharApr 18, 2022Copper Contributor
Thanks SteveKnutson,
I tried it but getting error as ConvertTo-PnPPage : could not find file PnP.Framework.resources
I am not sure what is missing.
Thanks,
- SteveKnutsonApr 18, 2022MVPHi 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- RajeshloharApr 18, 2022Copper Contributor
- Julien_HFeb 02, 2023Copper Contributor
Rajeshlohar
Execute PowerShell console in admin mode.