Skip to main content
Version: 2.0.1 (preview)

Test-MtXspmPrivilegedUsersLinkedToIdentity

SYNOPSISโ€‹

Tests if privileged users with assigned high privileged Entra ID roles are linked to an identity.

SYNTAXโ€‹

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

DESCRIPTIONโ€‹

This function checks if any enabled privileged users with assigned high privileged Entra ID roles are linked to an identity in Microsoft Defender XDR. Emergency access accounts defined in the Maester config under 'EmergencyAccessAccounts' are excluded from this test. Entra ID role members should be a separate account from the day-to-day user account to reduce the attack surface but also linked in Defender XDR for visibility and option to apply containment to all associated accounts in case of a identity compromise.

EXAMPLESโ€‹

EXAMPLE 1โ€‹

Test-MtXspmPrivilegedUsersLinkedToIdentity

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 all sensitive privileged users are linked to an identity, $false if any are found not linked, $null if skipped or prerequisites not met.โ€‹

NOTESโ€‹

https://maester.dev/docs/commands/Test-MtXspmPrivilegedUsersLinkedToIdentity