Get-CMAadConditionalAccessPolicy

Gets an aad conditional access policy

Syntax

Get-CMAadConditionalAccessPolicy
   -ServicePrincipalType <AadServicePrincipalType>
   [-AccountId <String>]
   [-AuthorityId <String>]
   [-IntuneClientId <String>]
   [-IntuneResourceId <String>]
   [-UserCredential <PSCredential>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Examples

Example 1

PS C:\>

Required Parameters

-ServicePrincipalType
Type:AadServicePrincipalType
Parameter Sets:ExchangeOnline, SharepointOnline, SkypeForBusiness, CrmOnline
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-AccountId
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AuthorityId
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IntuneClientId
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-IntuneResourceId
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UserCredential
Type:PSCredential
Aliases:Credentials, Credential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object