Dela via


Get-AzureADMSPermissionGrantConditionSet

Hämta ett villkor för beviljande av Azure Active Directory-behörighet som angetts av id.

Syntax

GetQuery (Standard)

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

GetById

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

Description

Hämta ett Azure Active Directory-objekt för behörighetsbeviljande villkorsuppsättning efter ID.

Exempel

Exempel 1: Hämta alla villkorsuppsättningar för behörighetsbeviljande som ingår i principen för behörighetsbeviljande

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

Exempel 2: Hämta alla villkorsuppsättningar för behörighetsbeviljande som är undantagna i principen för behörighetsbeviljande

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

Exempel 3: Hämta en villkorsuppsättning för behörighetsbeviljande

PS C:\>Get-AzureADMSPermissionGrantConditionSet -PolicyId "policy1" -ConditionSetType "includes" -Id "6b5e999b-0ba8-4186-a106-e0296c1c4358"

Parametrar

-ConditionSetType

Värdet anger om villkorsuppsättningarna ingår i principen eller exkluderas.

Parameteregenskaper

Typ:String
Standardvärde:None
Stöder jokertecken:False
DontShow:False

Parameteruppsättningar

(All)
Position:Named
Obligatorisk:True
Värde från pipeline:True
Värde från pipeline efter egenskapsnamn:True
Värde från återstående argument:False

-Id

Den unika identifieraren för ett Azure Active Directory-objekt för behörighetsbeviljande villkorsuppsättning.

Parameteregenskaper

Typ:String
Standardvärde:None
Stöder jokertecken:False
DontShow:False

Parameteruppsättningar

GetById
Position:Named
Obligatorisk:True
Värde från pipeline:True
Värde från pipeline efter egenskapsnamn:True
Värde från återstående argument:False

-PolicyId

Den unika identifieraren för ett Azure Active Directory-principobjekt för behörighetsbeviljande.

Parameteregenskaper

Typ:String
Standardvärde:None
Stöder jokertecken:False
DontShow:False

Parameteruppsättningar

(All)
Position:Named
Obligatorisk:True
Värde från pipeline:True
Värde från pipeline efter egenskapsnamn:True
Värde från återstående argument:False

CommonParameters

Den här cmdleten stöder vanliga parametrar: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction och -WarningVariable. Mer information finns i about_CommonParameters.

Indata

string

string

string

Utdata

Microsoft.Open.MSGraph.Model.PermissionGrantConditionSet

Kommentarer

Se migreringsguiden för Get-AzureADMSPermissionGrantConditionSet till Microsoft Graph PowerShell.