azureblog.co.uk
← cd ~/events
// events/1084 · Primary Refresh Token

Event ID 1084Network error reaching an endpoint

Records the URL being accessed when PRT acquisition hits a general network error such as WinHTTP timeout or name not resolved.

LogMicrosoft-Windows-AAD/Operational
SourceMicrosoft-Windows-AAD
AreaPrimary Refresh Token

What to check

Test connectivity to the URL shown, and make sure the computer account can authenticate to any outbound proxy.

Codes you'll see in this event

CodeMeaning
12002ERROR_WINHTTP_TIMEOUT
12007ERROR_WINHTTP_NAME_NOT_RESOLVED
12029ERROR_WINHTTP_CANNOT_CONNECT
12030ERROR_WINHTTP_CONNECTION_ERROR

Find it with PowerShell

Run on the machine that logs it.

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

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

Related Primary Refresh Token events

Search all 123 event IDs →