Skip to main content

Test-MtCaReferencedGroupsExist

SYNOPSIS

Checks if any conditional access policies include or exclude groups that have been deleted.

SYNTAX

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

DESCRIPTION

Security Groups will be used to exclude and include users from Conditional Access Policies. Assignments are still visible in the policy definition in Microsoft Graph API even the group is deleted. This test checks if all groups used in Conditional Access Policies still exist and shows invalid or deleted items.

EXAMPLES

EXAMPLE 1

Test-MtCaReferencedGroupsExist

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