Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

New-PowerAppPolicyUrlPatterns

Creates new URL patterns for a DLP policy by using the NewUrlPatterns UrlPatternsDefinition object.

Syntax

Default (Default)

New-PowerAppPolicyUrlPatterns
 -TenantId <String>
 -PolicyName <String>
 -NewUrlPatterns <Object>
 [-ApiVersion <String>]
 [<CommonParameters>]

Description

The New-PolicyUrlPatterns cmdlet creates new URL patterns for the signed in admin's policy. Currently, this cmdlet is only enabled for polices at the tenant level. Use Get-Help New-PolicyUrlPatterns -Examples for more detail.

Examples

EXAMPLE 1

New-PolicyUrlPatterns -TenantId $TenantId -PolicyName $PolicyName -NewUrlPatterns $NewUrlPatterns;

Creates URL patterns for a policy with $TenantId, $PolicyName and $NewUrlPatterns 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

-NewUrlPatterns

Creates URL patterns for a policy with the NewUrlPatterns object.

Parameter properties

Type:Object
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-PolicyName

The policy name identifier.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-TenantId

The tenant identifier.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

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.