You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to modernize a few SPO sites with the Team site (classic experience) template that were created over a decade ago. I've confirmed that their default "home.aspx" pages are the old classic experience, there's no O365 groups attached to them and they are still STS#0. I'm using the "ModernizeSiteCollections.ps1" script that I downloaded from the following repository: https://github.com/pnp/modernization/tree/dev/Scripts/ModernizeSiteCollection
When I run the script, it gets about 90% done and then throws the error "Source page is already a modern page" but as I said, I've confirmed that the SPO site I'm trying to modernize is an old Team site (classic experience) template STS#0 and I've also successfully run the "O365GroupConnectSite.ps1" script (from: https://github.com/pnp/modernization/tree/dev/Scripts/O365GroupConnect) against the same site and it completes successfully and updates the "home.aspx" to modern experience as well as creates an O365 Group and attaches it. I have other SPO sites with the Team site (classic experience) template STS#0 to work with that are getting the same error with the "ModernizeSiteCollections.ps1" script. The issue seems to be located between line numbers 298 and 326 in the "ModernizeSiteCollections.ps1" script.
Please advise and thank you.
P.S. - I've attempted to upload a screenshot of the error, but this portal does not appear to allow that. I also opened an issue for this on the "modernization" discussions board but it does not appear that anyone has responded to anything on that board since 2021. So, I'm hoping to have better luck here on this pnpframework issues board.
The text was updated successfully, but these errors were encountered:
I'm attempting to modernize a few SPO sites with the Team site (classic experience) template that were created over a decade ago. I've confirmed that their default "home.aspx" pages are the old classic experience, there's no O365 groups attached to them and they are still STS#0. I'm using the "ModernizeSiteCollections.ps1" script that I downloaded from the following repository: https://github.com/pnp/modernization/tree/dev/Scripts/ModernizeSiteCollection
When I run the script, it gets about 90% done and then throws the error "Source page is already a modern page" but as I said, I've confirmed that the SPO site I'm trying to modernize is an old Team site (classic experience) template STS#0 and I've also successfully run the "O365GroupConnectSite.ps1" script (from: https://github.com/pnp/modernization/tree/dev/Scripts/O365GroupConnect) against the same site and it completes successfully and updates the "home.aspx" to modern experience as well as creates an O365 Group and attaches it. I have other SPO sites with the Team site (classic experience) template STS#0 to work with that are getting the same error with the "ModernizeSiteCollections.ps1" script. The issue seems to be located between line numbers 298 and 326 in the "ModernizeSiteCollections.ps1" script.
Please advise and thank you.
P.S. - I've attempted to upload a screenshot of the error, but this portal does not appear to allow that. I also opened an issue for this on the "modernization" discussions board but it does not appear that anyone has responded to anything on that board since 2021. So, I'm hoping to have better luck here on this pnpframework issues board.
The text was updated successfully, but these errors were encountered: