Skip to content

Unable to apply template to classic site. #4

@kieranwalsh

Description

@kieranwalsh

I'm working on a site from 2016 that was unused. I believe process is to make a new Modern site and change that to the root site. I've made the new site and apparently in "Active sites" there should be a "replace" option when you click the default root site. That does not show for me.

An alternative is to use this PowerShell command:

Invoke-SPOSiteSwap -SourceUrl https://tenancy.sharepoint.com/sites/RemoteLearning -TargetUrl https://tenancy.sharepoint.com -ArchiveUrl https://tenancy.sharepoint.com/sites/archivedhome

but that fails with this error:

Invoke-SPOSiteSwap : Errors: [0]; Warnings: [8]; Details: The Site is not a communications site or it has the classic publishing feature enabled. more...

If I look in Site Collection Features "SharePoint Server Publishing Infrastructure" is deactivated, so the problem is that it is not a "communications site".

Another alternative is to change the existing classic site to a modern site using this command:

Enable-SPOCommSite -SiteUrl https://tenancy.sharepoint.com

Which errors with this:

Enable-SPOCommSite : The requested operation is part of an experimental feature that is not supported in the current environment.

So I guess that is why "Replace" is not available to me as well? Anyway, that has left me truly stuck. Any idea how to progress?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions