Add-SPOContentSecurityPolicy
Adds a source to the Content Security Policy configuration.
Syntax
Default (Default)
Add-SPOContentSecurityPolicy
[-Source] <String>
[<CommonParameters>]
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
Applicable: SharePoint Online
Source to be added to the Content Security Policy configuration.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.