en-US

MarkNewFilesSensitiveByDefault

Parameter of SPOTenant

Applies to : SharePoint Online

Description

If external sharing is turned on, sensitive content could be shared and accessed by guests before the Office DLP rule finishes processing, you can address this issue by configuring this parameter.

Possible values are

  • BlockExternalSharing: Prevents guests from accessing newly added files until at least one Office DLP policy scans the content of the file.
  • AllowExternalSharing: Disables this feature.

For more information see Mark new files as sensitive by default.

Microsoft Learn documentation

Characteristics

Type
Microsoft.Online.SharePoint.TenantManagement.SensitiveByDefaultState
Parameter sets
(All)

Apply

This value type (Microsoft.Online.SharePoint.TenantManagement.SensitiveByDefaultState) must be built by hand: see the examples on the policy page and the Microsoft documentation.