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" (see attached screenshot) 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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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" (see attached screenshot) 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.
Beta Was this translation helpful? Give feedback.
All reactions