Jaa


Set-PowerAppLockAllEnvironments

Lock all environments for the tenant that have customer managed encryption key enabled.

Syntax

Set-PowerAppLockAllEnvironments
   -LocationName <String>
   -KeyName <String>
   [-ApiVersion <String>]
   [<CommonParameters>]

Description

The Set-PowerAppLockAllEnvironments cmdlet locks all environments for the tenant that have customer managed encryption key enabled. Be warned that this action disables all the environments that are in the tenant. All locked environments remain inaccessible to everyone, including Microsoft, until unlocked. Use Get-Help Set-PowerAppLockAllEnvironments -Examples for more detail.

Examples

EXAMPLE 1

Set-PowerAppLockAllEnvironments -LocationName $LocationName

Locks all environments in the tenant.

Parameters

-ApiVersion

Specifies the Api version that is called.

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

-KeyName

The key name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-LocationName

The location name.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False