New-PowerAppDlpConnectorBlockingPolicy
Creates the connector blocking policy for the tenant if it's not already created.
Syntax
Default (Default)
New-PowerAppDlpConnectorBlockingPolicy
-TenantId <String>
-ConnectorBlockingDefinition <Object>
[-ApiVersion <String>]
[<CommonParameters>]
Description
The New-PowerAppDlpConnectorBlockingPolicy cmdlet creates a connector blocking policy for the tenant. Use Get-Help New-PowerAppDlpConnectorBlockingPolicy -Examples for more detail.
Examples
EXAMPLE 1
New-PowerAppDlpConnectorBlockingPolicy -TenantId $TenantId -ConnectorBlockingDefinition $ConnectorBlockingDefinition
Creates the connector blocking policy for the tenant based on the $ConnectorBlockingDefinition
object.
Parameters
-ApiVersion
Specifies the Api version that is called.
Parameter properties
Type: | String |
Default value: | 2020-06-01 |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ConnectorBlockingDefinition
The connector blocking policy definition.
Parameter properties
Type: | Object |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TenantId
The tenant identifier.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
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.