From 7fc47c06f6925aa27e63f0f7014f77ab55f982d7 Mon Sep 17 00:00:00 2001 From: Sean Squires <29845609+seansquires@users.noreply.github.com> Date: Thu, 18 Sep 2025 14:55:17 -0700 Subject: [PATCH 1/2] Update Set-SPOTenant with Knowledge Agent parameters Added parameters for Knowledge Agent feature control in SharePoint Online. --- .../Set-SPOTenant.md | 73 +++++++++++++++++++ 1 file changed, 73 insertions(+) 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 0e734e0d3..b1576271e 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md @@ -132,6 +132,8 @@ Set-SPOTenant [-MinCompatibilityLevel ] [-MaxCompatibilityLevel ] [-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled ] [-EnforceRequestDigest ] [-RestrictResourceAccountAccess ] [-EnableSensitivityLabelForOneNote ] [-EnableSensitivityLabelForVideoFiles ] [-SiteOwnersCanAccessMissingContent ] + [-KnowledgeAgentScope ] [-KnowledgeAgentSelectedSitesList ] + [-KnowledgeAgentSelectedSitesListOperation ] [] ``` @@ -3526,6 +3528,77 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -KnowledgeAgentScope + +> Applicable: SharePoint Online + +This parameter allows administrators to control which SharePoint sites the Knowledge Agent feature is available on. + +The valid values are: + +- `AllSites`: Knowledge Agent is available on all sites. +- `ExcludeSelectedSites`: Knowledge Agent is available on all sites except those specified in `KnowledgeAgentSelectedSitesList`. +- `NoSites`: Knowledge Agent isn't available on any sites. This is the Default value. + +> [!NOTE] +> Use of this parameter requires Microsoft 35 Copilot license. + +```yaml +Type: KnowledgeAgentFeatureScopeValue +Parameter Sets: (All) +Required: False +Position: Named +Default value: NoSites +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KnowledgeAgentSelectedSitesList + +> Applicable: SharePoint Online + +This parameter allows administrators to pass a list of SharePoint site URLs to exclude from the Knowledge agent feature. By default, this overwrites any existing exclusion list with the provided list. This parameter can only be called when `KnowledgeAgentScope` is set to `ExcludeSelectedSites`. + +The list of site URLs can't exceed 100 items. + +> [!NOTE] +> Use of this parameter requires Microsoft 35 Copilot license. + +```yaml +Type: String[] +Parameter Sets: (All) +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KnowledgeAgentSelectedSitesListOperation + +> Applicable: SharePoint Online + +This parameter specifies the operation to perform on the Knowledge Agent feature's current excluded sites list. + +The valid values are: + +- `Overwrite`: Overwrite the existing excluded sites list. This is the default operation. +- `Append`: Append the input list of sites to the existing excluded sites list. +- `Remove`: Remove the input list of sites from the existing excluded sites list. + +> [!NOTE] +> Calling this parameter without `KnowledgeAgentSelectedSitesList` has no effect. + +```yaml +Type: SelectedSitesListOperations +Parameter Sets: (All) +Required: False +Position: Named +Default value: Overwrite +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -LabelMismatchEmailHelpLink > Applicable: SharePoint Online From 82dec07ece7c6ed3626e75b8fab66fea963fa79f Mon Sep 17 00:00:00 2001 From: Ruchika Mittal Date: Fri, 19 Sep 2025 05:19:35 +0530 Subject: [PATCH 2/2] typo fix --- .../Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md | 2 +- 1 file changed, 1 insertion(+), 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 49910aaaf..ba4c7b1af 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md @@ -3541,7 +3541,7 @@ The valid values are: - `NoSites`: Knowledge Agent isn't available on any sites. This is the Default value. > [!NOTE] -> Use of this parameter requires Microsoft 35 Copilot license. +> Use of this parameter requires Microsoft 365 Copilot license. ```yaml Type: KnowledgeAgentFeatureScopeValue