question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NoComponentId error when open a migrated page form classic to modern using PnP PowerShell

See original GitHub issue

Reporting an Issue or Missing Feature

  • Page Transformation: Page is not looking correct after transformation.

Overview

A sub site migrated to be a new Communication site and It has some Classic Pages (WebPart and Wiki Pages)

Expected or Desired Behavior

Excepted behavior is to have classic pages converted to modern pages. Excepted to see logs on SharePoint or file system by using the parameters (-LogType) (-LogFolder) but no reports generated

Observed Behavior

Observed that migrated pages created in only specific Page library regardless of where the source page is existing despite it should be created in the SitePages Libraries. All converted pages are giving error “NoComponentId” when trying to open any one.

Sorry, something went wrong NoComponentId TECHNICAL DETAILS Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: xxxxx-xxxx-xxxx-xxxx-xxxxxxxx

Observed Errors in power Shell for some pages

ConvertTo-PnPPage : Page is an basic aspx page…can’t currently transform that one, sorry! ConvertTo-PnPPage : Page ‘xxxxx.aspx’ does not exist

PnpPowerShell Script

link to the PowerShell

PnpPowerShell versions:

  • PnP.PowerShell 1.3.0

Which operating system/environment are you running PnP PowerShell on?

  • Windows

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
jansenbecommented, Mar 1, 2021

Please try tomorrow, the last fix was not yet in the current nightly

1reaction
mohammadamercommented, Mar 2, 2021

Issue resolved with the latest nightly build Awesome! classic pages that are living in different libraries converted to modern in SitePages library. Great! Thanks @jansenbe

Read more comments on GitHub >

github_iconTop Results From Across the Web

SharePoint 2019 Installation Error - NoComponentID
I am installing a SharePoint 2019 on a single server for development purposes. I am using AutoSPInstaller to do the install. After running...
Read more >
Transforming to modern site pages using PowerShell Error
I recently ran into an issue using the PowerShell script to transform classic pages to modern. As referenced below:
Read more >
Transforming to modern site pages using PowerShell
Explains how to transform classic wiki and web part pages into modern pages using the SharePoint PowerShell.
Read more >
M365 – SharePoint Online – Resolving exception “ ...
M365 – SharePoint Online – Resolving exception “NoComponentId” while creating new client side page in Site Pages Library using CSOM.
Read more >
Copy Site Pages from One Site to Another using PowerShell
This article will show you how to copy pages in SharePoint Online using PowerShell. We wanted to copy a modern page from one...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found