azureblog.co.uk
← cd ~/events
// events/220 · Hybrid join

Event ID 220Cannot read the computer object in Active Directory

Windows could not access its computer object in AD during hybrid join (DSREG_AUTOJOIN_ADCONFIG_READ_FAILED, 0x801c001d). Error 1312 or 1317 points to AD replication problems.

LogMicrosoft-Windows-User Device Registration/Admin
SourceMicrosoft-Windows-User Device Registration
AreaHybrid join

What to check

Troubleshoot AD replication. These problems can be transient and the next join attempt may succeed.

Codes you'll see in this event

CodeMeaning
0x801c001dDSREG_AUTOJOIN_ADCONFIG_READ_FAILED.
1312ERROR_NO_SUCH_LOGON_SESSION.
1317ERROR_NO_SUCH_USER.

Find it with PowerShell

Run on the machine that logs it.

powershell2 lines
Get-WinEvent -FilterHashtable @{ LogName = 'Microsoft-Windows-User Device Registration/Admin'; Id = 220 } -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-User Device Registration/Admin log to your workspace, where it lands in the Event table.

kql5 lines
Event
| where TimeGenerated > ago(7d)
| where EventLog == "Microsoft-Windows-User Device Registration/Admin" and EventID == 220
| project TimeGenerated, Computer, Source, RenderedDescription
| order by TimeGenerated desc

Related Hybrid join events

Search all 123 event IDs →