Set-AppAsQuarantined
Sets the app quarantine state to quarantined. While an app is in a quarantined state, it's unavailable to users.
Syntax
Default (Default)
Set-AppAsQuarantined
[-EnvironmentName] <String>
[-AppName] <String>
[[-ApiVersion] <String>]
[<CommonParameters>]
Description
Set-AppAsQuarantined cmdlet changes the quarantine state of a app in Power Platform to quarantined. While an app is in a quarantined state, it's unavailable to users.
Examples
EXAMPLE 1
Set-AppAsQuarantined -EnvironmentName a5675ce2-99a8-4b25-9272-6abaf37660fe -AppName c3dba9c8-0f42-4c88-8110-04b582f20735
Parameters
-ApiVersion
API version date, defaults to "2021-02-01".
Parameter properties
| Type: | String |
| Default value: | 2021-02-01 |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 3 |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-AppName
App ID of the app to operate on.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 2 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-EnvironmentName
Environment ID for the environment where the app is located.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | True |
| 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.