What SharePoint development model, framework, SDK or API is this about?
π₯ SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
[ ] π₯ Internet Explorer
[ ] π₯ Microsoft Edge
[X] π₯ Google Chrome
[ ] π₯ FireFox
[ ] π₯ Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)
Additional environment details
browser version
SPFx version
Node.js version
etc
Describe the bug / error
Enable-SPOCommSite : The operation cannot be performed because the publishing feature is enabled on the site, or it was in the past.
For more information, see https://spo.ms/EnableCommSite.
Steps to reproduce
1.Connect to site Connect-SPOServer -URL $AdminCenterURL
2.Enable-spoCommSite -siteUrl $siteURL
3.Have read that removing the pages library fixes this but there is only the site pages library present.
This is a sharepoint 2013 subsite with a site template applied to it that has been migrated to SharePoint Online
Expected behavior
I would expect the site to be converted to a modern comms site with a new homepage.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
π₯ SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
Enable-SPOCommSite : The operation cannot be performed because the publishing feature is enabled on the site, or it was in the past. For more information, see https://spo.ms/EnableCommSite.
Steps to reproduce
1.Connect to site Connect-SPOServer -URL $AdminCenterURL 2.Enable-spoCommSite -siteUrl $siteURL 3.Have read that removing the pages library fixes this but there is only the site pages library present. This is a sharepoint 2013 subsite with a site template applied to it that has been migrated to SharePoint Online
Expected behavior
I would expect the site to be converted to a modern comms site with a new homepage.