From 92a8e83e2e3939a76f738d65eefc1ed727f1bcec Mon Sep 17 00:00:00 2001 From: Liang Zheng <9605845+liangzheng816@users.noreply.github.com> Date: Fri, 6 Jun 2025 14:13:38 +0800 Subject: [PATCH 1/4] Update Set-SPOTenant.md Update AllowClassicPublishingSiteCreation cmd --- .../sharepoint-online/Set-SPOTenant.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md index 110670a4c..d78075595 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md @@ -26,6 +26,7 @@ Set-SPOTenant [-AIBuilderModelSelectedSitesListOperation ] [-AllOrganizationSecurityGroupId ] [-AllowAnonymousMeetingParticipantsToAccessWhiteboards ] + [-AllowClassicPublishingSiteCreation ] [-AllowCommentsTextOnEmailEnabled ] [-AllowDownloadingNonWebViewableFiles ] [-AllowEditing ] @@ -2064,6 +2065,30 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -AllowClassicPublishingSiteCreation + +This parameter allows creation of classic publishing site collections (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) and enablement of publishing features in other classic site collection types. + +The valid values are: + +* False (default) - Classic publishing site collections can not be created, the publishing features can not be activated in all site collections. +* True - Classic publishing site collections can be created and the publishing features can be activated in site collections. + +> [!NOTE] +> This setting affects classic publishing sites (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) creation and all site collections for publishing feature activation. + +```yaml +Type: Boolean +Parameter Sets: (All) +Aliases: +Applicable: SharePoint Online +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -AllowCommentsTextOnEmailEnabled When this parameter is true, the email notification that a user receives when is mentioned, includes the surrounding document context. Set it to false to disable this feature. From 29c59703d1f66c29964bdf2e502f2791d30b2c87 Mon Sep 17 00:00:00 2001 From: Liang Zheng <9605845+liangzheng816@users.noreply.github.com> Date: Fri, 6 Jun 2025 14:18:51 +0800 Subject: [PATCH 2/4] Update Set-SPOTenant.md Updated --- .../sharepoint-ps/sharepoint-online/Set-SPOTenant.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md index d78075595..7e41269b4 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md @@ -2067,16 +2067,13 @@ Accept wildcard characters: False ### -AllowClassicPublishingSiteCreation -This parameter allows creation of classic publishing site collections (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) and enablement of publishing features in other classic site collection types. +This parameter allows creation of classic publishing site collections (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) and activation of classic publishing features in site collections. The valid values are: -* False (default) - Classic publishing site collections can not be created, the publishing features can not be activated in all site collections. +* False (default) - Classic publishing site collections can not be created; the publishing features can not be activated in site collections. * True - Classic publishing site collections can be created and the publishing features can be activated in site collections. -> [!NOTE] -> This setting affects classic publishing sites (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) creation and all site collections for publishing feature activation. - ```yaml Type: Boolean Parameter Sets: (All) From 3638bf5eb8ef6ff92e8b78cd50a39ebbdc8149bf Mon Sep 17 00:00:00 2001 From: Liang Zheng <9605845+liangzheng816@users.noreply.github.com> Date: Fri, 6 Jun 2025 15:20:16 +0800 Subject: [PATCH 3/4] Update Set-SPOTenant.md classic publishing feature activation can be effective in both site collections and sites --- sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md index 7e41269b4..8f6a53215 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md @@ -2067,12 +2067,12 @@ Accept wildcard characters: False ### -AllowClassicPublishingSiteCreation -This parameter allows creation of classic publishing site collections (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) and activation of classic publishing features in site collections. +This parameter allows creation of classic publishing site collections (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) and activation of classic publishing features in site collections and sites. The valid values are: -* False (default) - Classic publishing site collections can not be created; the publishing features can not be activated in site collections. -* True - Classic publishing site collections can be created and the publishing features can be activated in site collections. +* False (default) - Classic publishing site collections can not be created; the publishing features can not be activated in site collections and sites. +* True - Classic publishing site collections can be created and the publishing features can be activated in site collections and sites. ```yaml Type: Boolean From a57f2197cb9f1144cff2ceef1c9cee6b605dd423 Mon Sep 17 00:00:00 2001 From: Liang Zheng <9605845+liangzheng816@users.noreply.github.com> Date: Sat, 7 Jun 2025 10:03:43 +0800 Subject: [PATCH 4/4] Update Set-SPOTenant.md Fix comments --- sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md index 8f6a53215..69d5d8c6b 100644 --- a/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/sharepoint-online/Set-SPOTenant.md @@ -2067,12 +2067,12 @@ Accept wildcard characters: False ### -AllowClassicPublishingSiteCreation -This parameter allows creation of classic publishing site collections (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) and activation of classic publishing features in site collections and sites. +This parameter allows creation of classic publishing site collections (templates BLANKINTERNETCONTAINER#0, CMSPUBLISHING#0 and BLANKINTERNET#0) and activation of classic publishing features in sites. The valid values are: -* False (default) - Classic publishing site collections can not be created; the publishing features can not be activated in site collections and sites. -* True - Classic publishing site collections can be created and the publishing features can be activated in site collections and sites. +* False (default) - Classic publishing site collections cannot be created and the publishing features cannot be activated in sites. +* True - Classic publishing site collections can be created and the publishing features can be activated in sites. ```yaml Type: Boolean