Add-SPOContentSecurityPolicy
Adds a source to the Content Security Policy configuration.
PowerShell
Add-SPOContentSecurityPolicy
[-Source] <String>
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.
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 |