azureblog.co.uk
← cd ~/events
// events/662 · Entra Connect

Event ID 662Password hash sync health task failed during ping

The password hash sync health task failed during the heartbeat (ping) operation.

LogApplication
SourceDirectory Synchronization
AreaEntra Connect

What to check

Check connectivity from the Connect server to Entra ID.

Find it with PowerShell

Run on the machine that logs it.

powershell2 lines
Get-WinEvent -FilterHashtable @{ LogName = 'Application'; Id = 662 } -MaxEvents 50 |
    Format-List TimeCreated, Id, Message

Hunt for it in Sentinel or Log Analytics

This works once a data collection rule sends the Application log to your workspace, where it lands in the Event table.

kql5 lines
Event
| where TimeGenerated > ago(7d)
| where EventLog == "Application" and EventID == 662
| project TimeGenerated, Computer, Source, RenderedDescription
| order by TimeGenerated desc

Related Entra Connect events

Search all 123 event IDs →