This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
[BUG] ConvertTo-PnPClientSidePage fails at OfficeDevPnP.Core.Pages.ClientSidePage.AvailableClientSideComponents(String name) - A critical error occurred - transformation did not complete #3036
Labels
In two customer tenants we have problems converting publishing pages to modern pages using ConvertTo-PnPClientSidePage. In our dev tenants the commandlet functions correctly.
We can overcome the issue by using older version of PnP PowerShell Online module (December 2019, 3.6.1912.0).
Expected behavior
Publishing page transformed successfully to modern page.
Actual behavior
Page transformation report
Modernization Summary Report
Critical Errors during transformation
28/12/2020 9.03.06 - /Pages/test.aspx
One or more errors occurred. at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification) at OfficeDevPnP.Core.Pages.ClientSidePage.AvailableClientSideComponents(String name) at SharePointPnP.Modernization.Framework.Cache.CacheManager.GetClientSideComponents(ClientSidePage page) at SharePointPnP.Modernization.Framework.Transform.ContentTransformator.Transform(List
1 webParts)at SharePointPnP.Modernization.Framework.Publishing.PublishingPageTransformator.Transform(PublishingPageTransformationInformation publishingPageTransformationInformation)
Individual Page details
Transformation Details: /Pages/test.aspx
Page Transformation Settings
Transformation Operation Details
Steps to reproduce behavior
$SourceUrl = "https://tenant.sharepoint.com/sites/site1"
$TargetUrl = "https://tenant.sharepoint.com/sites/modernsite"
Connect-PnPOnline $SourceUrl -UseWebLogin
ConvertTo-PnPClientSidePage -PublishingPage -Identity test.aspx -TargetWebUrl $TargetUrl -LogType File -LogFolder c:\temp -LogVerbose
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
The ones we are having problems
The one that works on
The text was updated successfully, but these errors were encountered: