Partilhar via


Get-PowerAppDlpConnectorBlockingPolicy

Fetches the connector blocking policy for the tenant by ID.

Syntax

Default (Default)

Get-PowerAppDlpConnectorBlockingPolicy
    -TenantId <String>
    -PolicyId <String>
    [-ApiVersion <String>]
    [<CommonParameters>]

Description

The Get-PowerAppDlpConnectorBlockingPolicy cmdlet retrieves the connector blocking policy for the logged in user and the ID mentioned. Use Get-Help Get-PowerAppDlpConnectorBlockingPolicy -Examples for more detail.

Examples

EXAMPLE 1

Get-PowerAppDlpConnectorBlockingPolicy -TenantId $tenantId -PolicyId $PolicyId

Fetches the connector blocking policy for the logged in tenant admin recognized by ID otherwise returns null.

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

-PolicyId

The policy 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

-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.