Apr 15 2022 06:06 AM
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,
Apr 17 2022 09:24 PM
@Rajeshlohar I think this is what you are looking for Transform classic pages to modern pages using PowerShell | Microsoft Docs
Apr 17 2022 11:42 PM
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,
Apr 17 2022 11:49 PM
Apr 17 2022 11:52 PM
Apr 19 2022 12:10 PM
Feb 02 2023 05:13 AM
@Rajeshlohar
Execute PowerShell console in admin mode.