azureblog.co.uk
Event ID · Primary Refresh Token

Event ID 1088Error from the WS-Trust (federation) endpoint

Contains the server error code and description returned by the on-premises WS-Trust endpoint during federated PRT acquisition.

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

What to check

Check the federation server's WS-Trust endpoints and that no proxy is altering the response.

Find it with PowerShell

Run on the machine that logs it.

powershell2 lineshover a line number for notes
Get-WinEvent -FilterHashtable @{ LogName = 'Microsoft-Windows-AAD/Operational'; Id = 1088 } -MaxEvents 50 |
    Format-List TimeCreated, Id, Message
What each line does
  1. Line 1: Reads win event details.
  2. Line 2: Shows every property of each result as a list.

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 == 1088
| project TimeGenerated, Computer, Source, RenderedDescription
| order by TimeGenerated desc

Related Primary Refresh Token events

Search all 123 event IDs →

Spotted something out of date or wrong? Tell us and we'll fix it.