← cd ~/events
// events/1098 · Primary Refresh Token
Event ID 1098Token broker operation failed (0xCAA5001C)
Entra authentication through the token broker failed, which can break the Store for Business and Enterprise State Roaming. Caused by missing permissions or ownership on the AAD BrokerPlugin PSR registry key.
| Log | Microsoft-Windows-AAD/Operational |
|---|---|
| Source | Microsoft-Windows-AAD |
| Area | Primary Refresh Token |
What to check
Match the SID in the event to HKEY_USERS, take ownership (SYSTEM) of the BrokerPlugin PSR key if needed and re-enable permission inheritance.
Codes you'll see in this event
| Code | Meaning |
|---|---|
0xCAA5001C | Token broker operation failed. |
Find it with PowerShell
Run on the machine that logs it.
Get-WinEvent -FilterHashtable @{ LogName = 'Microsoft-Windows-AAD/Operational'; Id = 1098 } -MaxEvents 50 |
Format-List TimeCreated, Id, MessageHunt 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.
Event
| where TimeGenerated > ago(7d)
| where EventLog == "Microsoft-Windows-AAD/Operational" and EventID == 1098
| project TimeGenerated, Computer, Source, RenderedDescription
| order by TimeGenerated descRelated Primary Refresh Token events
- Event ID 1006: PRT acquisition started
- Event ID 1007: PRT acquisition finished (final error code)
- Event ID 1081: Error from the Microsoft Entra authentication service
- Event ID 1088: Error from the WS-Trust (federation) endpoint
- Event ID 1084: Network error reaching an endpoint
- Event ID 1022: URL being accessed
- Event ID 1144: UPN provided for sign-in