Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Primary Refresh Token (PRT)

A Primary Refresh Token (PRT) is a Microsoft Entra authentication artifact used by a token broker for single sign-on across supported apps. It can help the broker request app tokens and carry device claims for access checks. Its validity can depend on how it was obtained and on device status.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
2 min read
Abstract device key connecting to several applications
Learn more
Credential Leaks 101

How Does a Primary Refresh Token Work?

Microsoft says its token broker uses a PRT to give a signed-in user single sign-on across supported apps. The broker can use the PRT to request app access and refresh tokens. A registered-device PRT is tied to a device identity, while an unregistered-device PRT uses a key pair on the device. Only the registered form satisfies device registration policies.

The PRT carries user and device claims for Microsoft Entra Conditional Access checks. It is an opaque token, so a client cannot inspect its contents. A PRT is distinct from an app token or a browser session cookie, even though the broker can use it to obtain access to apps.

Why Does It Matter During an Identity Incident?

A new device registration changes the scope of an account investigation. In a credential compromise, teams should check both the account and its registered devices. Huntress reported one device code phishing campaign in which an attacker registered a device and then used its PRT to sign in to Microsoft 365 apps. The Huntress Entra device registration report covers that case.

Huntress observed that a password reset alone did not end access in that case because the PRT followed a phished token and device registration. Microsoft says a password change invalidates a PRT obtained with the password. These statements describe different token acquisition paths; neither is a rule for every PRT. The session hijacking entry explains the related risk of stolen session material.

How Should Teams Assess the Response?

Review Entra sign-in and device audit records to identify unfamiliar registrations and affected accounts. Huntress recommends deleting the rogue device, revoking the user’s sessions, and resetting credentials for the campaign it studied. The Credential Leaks 101 guide gives broader context for exposed credentials.

Microsoft says disabling a device revokes its PRT and refresh tokens. Deleting a device also blocks its Entra access, but deletion is irreversible and removes attached details, such as stored BitLocker keys. Confirm the device identity and any other management authority before deleting it.

Also Called

  • PRT

Frequently Asked Questions

Does a password reset invalidate every PRT?

Microsoft says a password change invalidates a PRT obtained with the password. Huntress observed a different case where a PRT acquired after a phished token and rogue device registration kept working after a password reset.

What happens when an Entra device is disabled?

Microsoft says disabling a device revokes the PRT and refresh tokens on that device and prevents it from authenticating through Entra ID.

Should a suspicious device always be deleted at once?

Confirm the device and its management status first. Microsoft warns that deletion is irreversible and removes attached details, including stored BitLocker keys; it advises wiping or retiring devices managed elsewhere before deletion.

Sources

  1. Understanding Primary Refresh Token (PRT), Microsoft Learn1
  2. Manage device identities using the Microsoft Entra admin center, Microsoft Learn2
  3. M365 Device Code Phishing Campaign Leads to Hundreds of Rogue Entra ID Registrations, Huntress3
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →