external help file | Module Name | online version | schema | ms.service | ms.topic | ms.date | ms.author | manager | author | ms.reviewer |
---|---|---|---|---|---|---|---|---|---|---|
Microsoft.Open.MS.GraphV10.PowerShell.dll-Help.xml |
AzureAD |
2.0.0 |
azure-active-directory |
reference |
01/19/2024 |
eunicewaweru |
CelesteDG |
msewaweru |
stevemutungi |
Gets an Azure Active Directory conditional access policy.
Get-AzureADMSConditionalAccessPolicy [<CommonParameters>]
Get-AzureADMSConditionalAccessPolicy -PolicyId <String> [<CommonParameters>]
This cmdlet allows an admin to get the Azure Active Directory conditional access policy. Conditional access policies are custom rules that define an access scenario.
PS C:\> Get-AzureADMSConditionalAccessPolicy
Id : 6b5e999b-0ba8-4186-a106-e0296c1c4358
DisplayName : Demo app for documentation
CreatedDateTime : 2019-09-26T23:12:16.0792706Z
ModifiedDateTime : 2019-09-27T00:12:12.5986473Z
State : Disabled
This command retrieves a list of all conditional access policies in Azure AD.
PS C:\> Get-AzureADMSConditionalAccessPolicy -PolicyId "6b5e999b-0ba8-4186-a106-e0296c1c4358"
Id : 6b5e999b-0ba8-4186-a106-e0296c1c4358
DisplayName : Demo app for documentation
CreatedDateTime : 2019-09-26T23:12:16.0792706Z
ModifiedDateTime : 2019-09-27T00:12:12.5986473Z
State : Disabled
This command retrieves a conditional access policy in Azure AD.
Specifies the ID of a conditional access policy in Azure Active Directory.
Type: String
Parameter Sets: GetById
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
See the migration guide for Get-AzureADMSConditionalAccessPolicy to the Microsoft Graph PowerShell.
New-AzureADMSConditionalAccessPolicy