azureblog.co.uk
← cd ~/events
// events/10031 · LAPS

Event ID 10031External password change blocked

LAPS blocked an attempt by something other than LAPS to change the managed account's password.

LogMicrosoft-Windows-LAPS/Operational
SourceMicrosoft-Windows-LAPS
AreaLAPS

What to check

Find out what tried to change it; nothing else should manage this password.

Find it with PowerShell

Run on the machine that logs it.

powershell2 lines
Get-WinEvent -FilterHashtable @{ LogName = 'Microsoft-Windows-LAPS/Operational'; Id = 10031 } -MaxEvents 50 |
    Format-List TimeCreated, Id, Message

Hunt for it in Sentinel or Log Analytics

This works once a data collection rule sends the Microsoft-Windows-LAPS/Operational log to your workspace, where it lands in the Event table.

kql5 lines
Event
| where TimeGenerated > ago(7d)
| where EventLog == "Microsoft-Windows-LAPS/Operational" and EventID == 10031
| project TimeGenerated, Computer, Source, RenderedDescription
| order by TimeGenerated desc

Related LAPS events

Search all 123 event IDs →