New-PowerAppDlpPolicyExemptResources
Creates new exempt resources for a DLP policy by using the NewDlpPolicyExemptResources DlpPolicyExemptResourcesDefinition object.
Syntax
Default (Default)
New-PowerAppDlpPolicyExemptResources
-TenantId <String>
-PolicyName <String>
-NewDlpPolicyExemptResources <Object>
[-ApiVersion <String>]
[<CommonParameters>]
Description
The New-PowerAppDlpPolicyExemptResources cmdlet creates new exempt resources for the signed in admin's DLP policy. Use Get-Help New-PowerAppDlpPolicyExemptResources -Examples for more detail.
Examples
EXAMPLE 1
New-PowerAppDlpPolicyExemptResources -TenantId $TenantId -PolicyName $PolicyName -NewDlpPolicyExemptResources $NewDlpPolicyExemptResources
Creates a new policy with $TenantId, $PolicyName and $NewDlpPolicyExemptResources object.
Parameters
-ApiVersion
Specifies the Api version that is called.
Parameter properties
| Type: | String |
| Default value: | 2016-11-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 |
-NewDlpPolicyExemptResources
Creates a DLP policy with the NewDlpPolicyExemptResources object.
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 |
-PolicyName
Create new exempt resources by using policy name.
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
Create new exempt resources by using 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.