Skip to main content

Test-MtCaEnforceSignInFrequency

SYNOPSIS

Checks if the tenant has at least one conditional access policy enforcing sign-in frequency for non-corporate devices

SYNTAX

Test-MtCaEnforceSignInFrequency [-AllDevices] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Sign-in frequency conditional access policy can be helpful to minimize the risk of data leakage from a shared device.

Learn more: https://aka.ms/CATemplatesBrowserSession

EXAMPLES

EXAMPLE 1

Test-MtCaEnforceSignInFrequency

PARAMETERS

-AllDevices

Ignore device filters for compliant devices.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Boolean

NOTES

https://maester.dev/docs/commands/Test-MtCaEnforceSignInFrequency