Skip to main content
Version: 2.0.1 (preview)

Test-MtCaGap

SYNOPSISโ€‹

This function checks if all objects found in policy exclusions are found in policy inclusions.

SYNTAXโ€‹

Test-MtCaGap [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTIONโ€‹

Checks for gaps in conditional access policies, by looking for excluded objects which are not specifically included in another conditional access policy. Instead of looking at the historical sign-ins to find gaps, we try to spot possibly overlooked exclusions which do not have a fallback.

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Test-MtCaGap

PARAMETERSโ€‹

-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-MtCaGap