Test-MtXspmEnabledPrivilegedUsersLinkedToDisabledIdentity
SYNOPSISโ
Tests if enabled privileged users with assigned high privileged Entra ID roles or criticality level (<= 1) are linked to a disabled identity in Microsoft Defender XDR.
SYNTAXโ
Test-MtXspmEnabledPrivilegedUsersLinkedToDisabledIdentity [-ProgressAction <ActionPreference>]
[<CommonParameters>]
DESCRIPTIONโ
This function checks if any enabled privileged users with assigned high privileged Entra ID roles or criticality level (<= 1) are linked to a disabled identity in Microsoft Defender XDR. Having enabled privileged users linked to disabled identities can pose a security risk, as it may indicate orphaned privileged accounts that could be exploited by attackers.
EXAMPLESโ
EXAMPLE 1โ
Test-MtXspmEnabledPrivilegedUsersLinkedToDisabledIdentity
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โ
[bool] - Returns $true if no enabled privileged users are linked to disabled identities, otherwise returns $false.โ
NOTESโ
RELATED LINKSโ
https://maester.dev/docs/commands/Test-MtXspmEnabledPrivilegedUsersLinkedToDisabledIdentity