Dela via


Set-AppAsQuarantined

Sets the app quarantine state to quarantined. While an app is in a quarantined state, it's unavailable to users.

Syntax

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".

Type:String
Position:3
Default value:2021-02-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AppName

App ID of the app to operate on.

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

-EnvironmentName

Environment ID for the environment where the app is located.

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