Set-PowerAppDlpConnectorBlockingPolicy
Updates the connector blocking policy for the tenant.
Syntax
Default (Default)
Set-PowerAppDlpConnectorBlockingPolicy
-TenantId <String>
-PolicyId <String>
-ConnectorBlockingDefinition <Object>
[-ApiVersion <String>]
[<CommonParameters>]
Description
The Set-PowerAppDlpConnectorBlockingPolicy cmdlet updates connector blocking policy for the tenant. Use Get-Help Set-PowerAppDlpConnectorBlockingPolicy -Examples for more detail.
Examples
EXAMPLE 1
Set-PowerAppDlpConnectorBlockingPolicy -TenantId $TenantId -PolicyId $PolicyId -ConnectorBlockingDefinition $ConnectorBlockingDefinition
Updates 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 |
-PolicyId
The identifier for the policy.
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 |
-TenantId
The tenant ID.
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.