Get-AzureADMSPermissionGrantConditionSet

Get an Azure Active Directory permission grant condition set by id.

Syntax

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

Description

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

Examples

Example 1: Get all permission grant condition sets that are included in the permission grant policy

PS C:\>Get-AzureADMSPermissionGrantConditionSet -PolicyId "policy1" -ConditionSetType "includes"

Example 2: Get all permission grant condition sets that are excluded in the permission grant policy

PS C:\>Get-AzureADMSPermissionGrantConditionSet -PolicyId "policy1" -ConditionSetType "excludes"

Example 3: Get a permission grant condition set

PS C:\>Get-AzureADMSPermissionGrantConditionSet -PolicyId "policy1" -ConditionSetType "includes" -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
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
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
Accept pipeline input:True
Accept wildcard characters:False

Inputs

string

string

string

Outputs

Microsoft.Open.MSGraph.Model.PermissionGrantConditionSet