Επεξεργασία

Κοινή χρήση μέσω


Remove-AzureADMSPermissionGrantConditionSet

Delete an Azure Active Directory permission grant condition set by id

Syntax

Remove-AzureADMSPermissionGrantConditionSet
      -PolicyId <String>
      -ConditionSetType <String>
      -Id <String>
      [<CommonParameters>]

Description

Delete an Azure Active Directory permission grant condition set object by id.

Examples

Example 1: Delete a permission grant condition set from a policy

PS C:\>Remove-AzureADMSPermissionGrantConditionSet -PolicyId "policy1" -ConditionSetType "excludes" -Id "665a9903-0398-48ab-b4e9-7a570d468b66"

Parameters

-ConditionSetType

The value indicates whether the condition sets are included in the policy or excluded.

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

-Id

The unique identifier of an Azure Active Directory permission grant condition set object.

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

-PolicyId

The unique identifier of an Azure Active Directory permission grant policy object.

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

Inputs

string

string

string

Notes

See the migration guide for Remove-AzureADMSPermissionGrantConditionSet to the Microsoft Graph PowerShell.