Add-SPOContentSecurityPolicy

Adds a source to the Content Security Policy configuration.

Syntax

Add-SPOContentSecurityPolicy
   [-Source] <String>

Description

Adds a source to the Content Security Policy configuration. The source will be added to the script-src directive during construction of the Content-Security-Policy header. In multi-geo environments, Content Security Policy configuration is unique to each geo.

Parameters

-Source

Source to be added to the Content Security Policy configuration.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online