en-US

IsFilePreviewDomainRestrictionEnabled

Parameter of SPOTenant

Applies to : SharePoint Online

Description

Enables or disables enforcement of the file preview domain allow list defined by FilePreviewAllowedDomainList.

The values are $true and $false. The default value is $false, which means the restriction is disabled and the file preview viewer can load content from any domain.

PARAMVALUE: True | False

Microsoft Learn documentation

Characteristics

Type
System.Boolean
Default value
False
Parameter sets
(All)

Apply

This value type (System.Boolean) must be built by hand: see the examples on the policy page and the Microsoft documentation.