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โ
RELATED LINKSโ
https://maester.dev/docs/commands/Test-MtCaReferencedGroupsExist