Skip to content
WETNav

incomingTokenType / IncomingTokenTypeDepends on context

primaryrefreshtoken: Primary Refresh Token

A device-bound PRT was used for single sign-on.

How to read it

PRTs come from joined or registered devices. A PRT sign-in from an unexpected device ID or location can mean a stolen PRT or a rogue device registration.

Find it

union SigninLogs, AADNonInteractiveUserSignInLogs
| where IncomingTokenType =~ "primaryrefreshtoken"
| project TimeGenerated, UserPrincipalName, IPAddress, DeviceDetail, AppDisplayName

About incomingTokenType

Which token the client presented. Refresh tokens and primary refresh tokens mean the sign-in reused an earlier authentication.

Every Entra ID incomingTokenType value →

Questions

What does incomingTokenType primaryrefreshtoken mean?
Primary Refresh Token. A device-bound PRT was used for single sign-on. PRTs come from joined or registered devices. A PRT sign-in from an unexpected device ID or location can mean a stolen PRT or a rogue device registration.
Is incomingTokenType primaryrefreshtoken a sign of an attack?
It depends on the context around it. Confirm it with the surrounding events: who made the request, from where, and what happened next.
Where is incomingTokenType primaryrefreshtoken recorded?
In the incomingTokenType field of Entra ID sign-in logs.
How do I search for incomingTokenType primaryrefreshtoken?
The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.