Skip to content

Commit 7fc47c0

Browse files
authored
Update Set-SPOTenant with Knowledge Agent parameters
Added parameters for Knowledge Agent feature control in SharePoint Online.
1 parent 9c87de8 commit 7fc47c0

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Set-SPOTenant.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>]
132132
[-AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled <Boolean>] [-EnforceRequestDigest <Boolean>]
133133
[-RestrictResourceAccountAccess <Boolean>] [-EnableSensitivityLabelForOneNote <Boolean>]
134134
[-EnableSensitivityLabelForVideoFiles <Boolean>] [-SiteOwnersCanAccessMissingContent <Boolean>]
135+
[-KnowledgeAgentScope <KnowledgeAgentFeatureScopeValue>] [-KnowledgeAgentSelectedSitesList <String[]>]
136+
[-KnowledgeAgentSelectedSitesListOperation <SelectedSitesListOperations>]
135137
[<CommonParameters>]
136138
```
137139

@@ -3526,6 +3528,77 @@ Accept pipeline input: False
35263528
Accept wildcard characters: False
35273529
```
35283530

3531+
### -KnowledgeAgentScope
3532+
3533+
> Applicable: SharePoint Online
3534+
3535+
This parameter allows administrators to control which SharePoint sites the Knowledge Agent feature is available on.
3536+
3537+
The valid values are:
3538+
3539+
- `AllSites`: Knowledge Agent is available on all sites.
3540+
- `ExcludeSelectedSites`: Knowledge Agent is available on all sites except those specified in `KnowledgeAgentSelectedSitesList`.
3541+
- `NoSites`: Knowledge Agent isn't available on any sites. This is the Default value.
3542+
3543+
> [!NOTE]
3544+
> Use of this parameter requires Microsoft 35 Copilot license.
3545+
3546+
```yaml
3547+
Type: KnowledgeAgentFeatureScopeValue
3548+
Parameter Sets: (All)
3549+
Required: False
3550+
Position: Named
3551+
Default value: NoSites
3552+
Accept pipeline input: False
3553+
Accept wildcard characters: False
3554+
```
3555+
3556+
### -KnowledgeAgentSelectedSitesList
3557+
3558+
> Applicable: SharePoint Online
3559+
3560+
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`.
3561+
3562+
The list of site URLs can't exceed 100 items.
3563+
3564+
> [!NOTE]
3565+
> Use of this parameter requires Microsoft 35 Copilot license.
3566+
3567+
```yaml
3568+
Type: String[]
3569+
Parameter Sets: (All)
3570+
Required: False
3571+
Position: Named
3572+
Default value: None
3573+
Accept pipeline input: False
3574+
Accept wildcard characters: False
3575+
```
3576+
3577+
### -KnowledgeAgentSelectedSitesListOperation
3578+
3579+
> Applicable: SharePoint Online
3580+
3581+
This parameter specifies the operation to perform on the Knowledge Agent feature's current excluded sites list.
3582+
3583+
The valid values are:
3584+
3585+
- `Overwrite`: Overwrite the existing excluded sites list. This is the default operation.
3586+
- `Append`: Append the input list of sites to the existing excluded sites list.
3587+
- `Remove`: Remove the input list of sites from the existing excluded sites list.
3588+
3589+
> [!NOTE]
3590+
> Calling this parameter without `KnowledgeAgentSelectedSitesList` has no effect.
3591+
3592+
```yaml
3593+
Type: SelectedSitesListOperations
3594+
Parameter Sets: (All)
3595+
Required: False
3596+
Position: Named
3597+
Default value: Overwrite
3598+
Accept pipeline input: False
3599+
Accept wildcard characters: False
3600+
```
3601+
35293602
### -LabelMismatchEmailHelpLink
35303603

35313604
> Applicable: SharePoint Online

0 commit comments

Comments
 (0)