Set-PowerAppTenantProtectionKey

Set Power Apps protection key.

Syntax

Set-PowerAppTenantProtectionKey
   -LocationName <String>
   -KeyName <String>
   [-WaitUntilFinished <Boolean>]
   [-TimeoutInMinutes <Int32>]
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

Set-PowerAppTenantProtectionKey cmdlet sets an existing tenant protection key. Use Get-Help Set-PowerAppTenantProtectionKey -Examples for more detail.

Examples

EXAMPLE 1

Set-PowerAppTenantProtectionKey -LocationName $LocationName -KeyName $KeyName

Set protection key.

Parameters

-ApiVersion

Specifies the API version that is called.

Type:String
Position:Named
Default value:2020-06-01
Accept pipeline input:False
Accept wildcard characters:False
-KeyName

The key name.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LocationName

The location name.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-TimeoutInMinutes

The client timeout setting in minutes.

Type:Int32
Position:Named
Default value:10080
Accept pipeline input:False
Accept wildcard characters:False
-WaitUntilFinished

Default is false. If set to true, then the function will not return until operation completed.

Type:Boolean
Position:Named
Default value:True
Accept pipeline input:False
Accept wildcard characters:False