Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Set-PowerAppTenantProtectionKey
Sets the Power Platform protection key.
Syntax
Default (Default)
Set-PowerAppTenantProtectionKey
-LocationName <String>
-KeyName <String>
[-WaitUntilFinished <Boolean>]
[-TimeoutInMinutes <Int32>]
[-ApiVersion <String>]
[<CommonParameters>]
Description
The 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
Sets the protection key using the specified key.
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
-KeyName
The key name.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-LocationName
The location name. For a list of location names, use the Get-AdminPowerAppEnvironmentLocations cmdlet.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-TimeoutInMinutes
The client timeout setting in minutes.
Parameter properties
| Type: | Int32 |
| Default value: | 10080 |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-WaitUntilFinished
Default is false. If set to true, then the cmdlet doesn't return until operation completes.
Parameter properties
| Type: | Boolean |
| Default value: | True |
| 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.
