Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ Set-SPOTenant [-MinCompatibilityLevel <Int32>] [-MaxCompatibilityLevel <Int32>]
[-RestrictResourceAccountAccess <Boolean>] [-RestrictExternalSharingForAgents <Boolean>]
[-AllowFileArchive <Boolean>] [-AllowFileArchiveByDefault <Boolean>] [<CommonParameters>]
[-EnableNotificationsSubscriptions <Boolean>]
[-IsFilePreviewDomainRestrictionEnabled <Boolean>]
[-FilePreviewAllowedDomainList <String>]
```

### ParameterSetContentTypeSyncSiteTemplatesList
Expand Down Expand Up @@ -875,6 +877,14 @@ Set-SPOTenant -RemoveVersionExpirationFileTypeOverride @("Video", "Audio")

This example removes any specific version history limit override set for video and audio file types on all new document libraries at tenant level.

### EXAMPLE 26

```powershell
Set-SPOTenant -IsFilePreviewDomainRestrictionEnabled $true -FilePreviewAllowedDomainList "contoso.com;fabrikam.com"
```

This example restricts file preview to the specified domains. When domain restriction is enabled, only files embedded from the listed domains can be previewed, in addition to predefined trusted Microsoft domains (for example, teams.microsoft.com).

## PARAMETERS

### -AIBuilderModelScope
Expand Down Expand Up @@ -2816,7 +2826,7 @@ Accept wildcard characters: False

### -DocumentUnderstandingModelScope

This parameter allows administrators to limit which SharePoint sites the document understanding model and [unstructurted document processesing](/microsoft-365/syntex/document-understanding-overview) premium feature is available on.
This parameter allows administrators to limit which SharePoint sites the document understanding model and [unstructured document processing](/microsoft-365/syntex/document-understanding-overview) premium feature is available on.

The valid values are:

Expand Down Expand Up @@ -3516,6 +3526,23 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -FilePreviewAllowedDomainList

Specifies the list of domains that are allowed for file preview.
Use a semicolon-delimited list of domain names. For example: `contoso.com;fabrikam.com`.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: String.Empty
Accept pipeline input: False
Accept wildcard characters: False
```

### -FileTypesForVersionExpiration

An array of file type names. The supported file type names are:
Expand Down Expand Up @@ -3769,6 +3796,26 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -IsFilePreviewDomainRestrictionEnabled

Enables or disables domain-based restrictions for file preview.

When set to `$true`, SharePoint restricts file preview to the domains specified in `-FilePreviewAllowedDomainList`. When set to `$false`, domain restrictions are disabled and file preview is allowed for all domains, regardless of the allow list configuration. This setting affects the embedded preview experiences.

PARAMVALUE: True | False

```yaml
Type: System.Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```

### -IsFluidEnabled

> Applicable: SharePoint Online
Expand Down
Loading