From 4c4d1e95cc5d79f1ecbe3a4d9f721cf8c2e96919 Mon Sep 17 00:00:00 2001 From: yihjin Date: Wed, 23 Sep 2026 16:03:31 +0800 Subject: [PATCH] Document Smart Wiki library entry point settings in Set-SPOTenant Add the SmartWikiEntryScope, SmartWikiEntrySelectedSitesList, and SmartWikiEntrySelectedSitesListOperation parameters to all Set-SPOTenant syntax blocks, add parameter reference sections, and add examples that show how to configure the setting and view it with Get-SPOTenant. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../Set-SPOTenant.md | 124 +++++++++++++++++- 1 file changed, 123 insertions(+), 1 deletion(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md index a020a4080..cf01e3a73 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md @@ -9,7 +9,7 @@ author: samkabue ms.author: speedta ms.reviewer: Mengke-GH description: 'A PowerShell cmdlet used in SharePoint Online to configure organization-wide tenant settings.' -ms.date: 08/03/2026 +ms.date: 09/23/2026 --- # Set-SPOTenant @@ -141,6 +141,8 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-AutofillColumnsSelectedSitesListOperation ] [-KnowledgeAgentScope ] [-KnowledgeAgentSelectedSitesList ] [-KnowledgeAgentSelectedSitesListOperation ] + [-SmartWikiEntryScope ] [-SmartWikiEntrySelectedSitesList ] + [-SmartWikiEntrySelectedSitesListOperation ] [-OpticalCharacterRecognitionScope ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] @@ -277,6 +279,8 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-AutofillColumnsSelectedSitesListOperation ] [-KnowledgeAgentScope ] [-KnowledgeAgentSelectedSitesList ] [-KnowledgeAgentSelectedSitesListOperation ] + [-SmartWikiEntryScope ] [-SmartWikiEntrySelectedSitesList ] + [-SmartWikiEntrySelectedSitesListOperation ] [-OpticalCharacterRecognitionScope ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] @@ -414,6 +418,8 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-AutofillColumnsSelectedSitesListOperation ] [-KnowledgeAgentScope ] [-KnowledgeAgentSelectedSitesList ] [-KnowledgeAgentSelectedSitesListOperation ] + [-SmartWikiEntryScope ] [-SmartWikiEntrySelectedSitesList ] + [-SmartWikiEntrySelectedSitesListOperation ] [-OpticalCharacterRecognitionScope ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] @@ -549,6 +555,8 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-AutofillColumnsSelectedSitesListOperation ] [-KnowledgeAgentScope ] [-KnowledgeAgentSelectedSitesList ] [-KnowledgeAgentSelectedSitesListOperation ] + [-SmartWikiEntryScope ] [-SmartWikiEntrySelectedSitesList ] + [-SmartWikiEntrySelectedSitesListOperation ] [-OpticalCharacterRecognitionScope ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] @@ -684,6 +692,8 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-AutofillColumnsSelectedSitesListOperation ] [-KnowledgeAgentScope ] [-KnowledgeAgentSelectedSitesList ] [-KnowledgeAgentSelectedSitesListOperation ] + [-SmartWikiEntryScope ] [-SmartWikiEntrySelectedSitesList ] + [-SmartWikiEntrySelectedSitesListOperation ] [-OpticalCharacterRecognitionScope ] [-OpticalCharacterRecognitionSelectedSitesList ] [-OpticalCharacterRecognitionSelectedSitesListOperation ] @@ -939,6 +949,31 @@ Set-SPOTenant -DefaultLanguageForSiteCreation "de-DE" This example sets the default language for new OneDrive sites to German (Germany). New OneDrive sites created after you run this command use this language instead of the language of the organization's OneDrive host site. To clear the setting and return to the default behavior, pass an empty string: `Set-SPOTenant -DefaultLanguageForSiteCreation ""`. +### EXAMPLE 29 + +```powershell +Set-SPOTenant -SmartWikiEntryScope AllSites +``` + +This example makes the Smart Wiki library entry point available on all sites in the organization. + +### EXAMPLE 30 + +```powershell +Set-SPOTenant -SmartWikiEntryScope IncludeSelectedSites -SmartWikiEntrySelectedSitesList "https://contoso.sharepoint.com/sites/marketing","https://contoso.sharepoint.com/sites/sales" +``` + +This example makes the Smart Wiki library entry point available only on the two specified sites. The specified sites replace any previously selected sites. + +### EXAMPLE 31 + +```powershell +Set-SPOTenant -SmartWikiEntrySelectedSitesList "https://contoso.sharepoint.com/sites/hr" -SmartWikiEntrySelectedSitesListOperation Append +Get-SPOTenant | Select-Object SmartWikiEntryScope, SmartWikiEntrySelectedSitesList +``` + +This example adds a site to the current selected sites list for the Smart Wiki library entry point without changing the scope. It then displays the current scope and the selected sites. + ## PARAMETERS ### -AIBuilderModelScope @@ -5880,6 +5915,93 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -SmartWikiEntryScope + +> Applicable: SharePoint Online + +Specifies the sites where the Smart Wiki library entry point is available to users. + +The valid values are: + +- `NoSites`: This setting doesn't make the entry point available on any site. This is the default value. +- `AllSites`: The entry point is available on all sites. +- `IncludeSelectedSites`: The entry point is available only on the sites in `SmartWikiEntrySelectedSitesList`. +- `ExcludeSelectedSites`: The entry point is available on all sites except the sites in `SmartWikiEntrySelectedSitesList`. + +When you specify this parameter, the current selected sites list is cleared. To set a new list, specify `SmartWikiEntrySelectedSitesList` in the same command. To change the list without changing the scope, omit this parameter. + +It might take some time for changes to take effect, and users might need to refresh the page to see them. + +> [!NOTE] +> This setting only controls where the Smart Wiki library entry point is available. It doesn't activate SharePoint features or change access to existing Smart Wiki libraries. `NoSites` doesn't turn off the entry point on sites where it's otherwise available. + +```yaml +Type: SmartWikiEntryScopeValue +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: NoSites +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SmartWikiEntrySelectedSitesList + +> Applicable: SharePoint Online + +Specifies the site URLs for the Smart Wiki library entry point setting. When `SmartWikiEntryScope` is `IncludeSelectedSites`, the entry point is available only on these sites. When `SmartWikiEntryScope` is `ExcludeSelectedSites`, the entry point is available on all sites except these sites. + +You can use this parameter only when `SmartWikiEntryScope` is `IncludeSelectedSites` or `ExcludeSelectedSites`, either in the same command or as the current setting. + +By default, the list that you specify replaces the current list. To add sites to or remove sites from the current list, use the `SmartWikiEntrySelectedSitesListOperation` parameter. + +Specify the URL of each site collection, for example `https://contoso.sharepoint.com/sites/marketing`. The setting applies to the entire site collection, including its subsites. URLs that don't match a site collection in your organization are ignored, and the cmdlet displays a warning that lists them. + +The list can contain up to 100 sites. To clear the list, specify an empty array (`@()`) with the default `Overwrite` operation. When the list is empty, `IncludeSelectedSites` doesn't make the entry point available on any site, and `ExcludeSelectedSites` makes it available on all sites. + +If a selected site is deleted, it no longer appears in the `Get-SPOTenant` output, but it still counts toward the 100-site limit until you overwrite the list. + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SmartWikiEntrySelectedSitesListOperation + +> Applicable: SharePoint Online + +Specifies how the site URLs in `SmartWikiEntrySelectedSitesList` are applied to the current selected sites list. + +The valid values are: + +- `Overwrite`: Replaces the current list with the specified sites. This is the default value. +- `Append`: Adds the specified sites to the current list. +- `Remove`: Removes the specified sites from the current list. + +> [!NOTE] +> You must specify `SmartWikiEntrySelectedSitesList` when you use this parameter. Otherwise, the command returns an error. + +```yaml +Type: SelectedSitesListOperations +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: Overwrite +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SocialBarOnSitePagesDisabled > Applicable: SharePoint Online