Forum Discussion
An_admin_123
Apr 11, 2023Copper Contributor
Converting classic pages to modern
I am migrating SharePoint from on-premises to on-line. The process has copied lots of pages over which are in the classic mode and I want to convert them to modern. I really don't have time to recr...
An_admin_123
Apr 14, 2023Copper Contributor
I just get a different error message:
"List 'sitepages' does not exist at site"
"List 'sitepages' does not exist at site"
ganeshsanap
Apr 16, 2023MVP
An_admin_123 Can you show us the complete PowerShell code you are using currently?
Did you check in "Site Contents" of site for "Site Pages" library? Is it available on your SharePoint site?
If yes and you are referring to library using title/display name anywhere in your code, try using "Site Pages" instead of "SitePages".
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs