Skip to main content

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