Skip to main content

Escrowing BitLocker Recovery Keys via Intune and Entra ID

Verify BitLocker recovery keys actually reached Entra ID after Intune encrypts a drive. Covers join type, escrow profile settings, pilot rollout and checks.

KBY Technologies14 min readIntermediate60 min
Escrowing BitLocker Recovery Keys via Intune and Entra ID

Advertising disclosure: this article includes partner links. KBY may earn a commission if you sign up or buy through one, at no extra cost to you. How we make money.

Before you begin

  • Intune configuration profile basics
  • Entra ID hybrid join fundamentals
  • PowerShell for Windows device administration

Underlined words are defined in the KBY Lexicon. Tap or click one to see what it means.

Sooner or later a laptop will stop at the BitLocker recovery screen, and someone on the help desk will need its key quickly. Encryption protects the data, but a key nobody can find turns a forgotten PIN or a failed TPM into a wiped device. Intune can store each key in Entra ID, and you can prove it arrived.

A device is not safely escrowed just because BitLocker is enabled. Verify that a recovery-password protector exists and that its key is visible for the matching device in before destructive maintenance. For an existing protector, an approved administrator can use BackupToAAD-BitLockerKeyProtector; listing recovery-key metadata through Microsoft Graph does not disclose the recovery key itself, and key retrieval requires separately authorised permissions and is audited.

Related KBY guidance: decommission Windows devices safely.

#Why encryption without an escrowed key is a liability

A laptop with an encrypted volume and no recovery key anywhere except the user’s own head is not a secured device. It is a support ticket waiting to happen, and on a bad day it is a data-loss incident.

If BitLocker protector keys are not escrowed to Entra ID (or on-premises AD for hybrid-joined machines still running legacy encryption), then a TPM failure, a firmware update that trips a PCR measurement, or a simple forgotten PIN turns into a device that cannot be recovered without wiping it.

For a fleet standardising on Intune, key escrow is not an optional hardening extra. It is the difference between a five-minute help desk call and a full re-image with data loss.

You will typically get this assigned once you’ve proven you can enrol devices and push a compliance policy.

The brief sounds simple: “make sure BitLocker keys are backed up properly.” It is not simple, because there are three places a key can end up (Entra ID device object, on-prem AD, or nowhere), two enrolment states that affect which one applies (Entra-joined vs hybrid-joined), and a legacy Group Policy object that half your estate might still be running from before the Intune migration.

Getting the profile wrong doesn’t throw an obvious error. It encrypts the drive, fails to escrow the key without any warning, and you find out three months later when someone’s motherboard dies.

#Set up escrow in Intune, one step at a time

This walkthrough assumes Windows 10/11 devices already enrolled in Intune, either Entra-joined or Entra hybrid-joined, with encryption not yet enforced through Intune (silent BitLocker via OEM or manual GPO doesn’t count; Intune has to drive the whole process).

  1. Confirm the device join type first. Escrow destination depends on it. Run on a test machine:

    1dsregcmd /status

    Look for AzureAdJoined or DomainJoined plus AzureAdJoined (hybrid). Pure Entra-joined devices escrow to the Entra ID device object. For hybrid-joined devices the escrow destination follows the policy that is applied (Intune policy or Group Policy), and a device can back up to both on-prem AD and Entra ID. Check which policy source is applying to each device; see the Microsoft BitLocker policy documentation linked above.

  2. Build the Endpoint Protection configuration profile. In the Intune admin centre: Devices > Manage devices > Configuration > Create > New policy > Windows 10 and later > Templates > Endpoint protection. Under Windows Encryption, set:

    1Encrypt devices: Require
    2BitLocker OS drive settings
    3  Additional authentication at startup: Require
    4    Compatible TPM startup: Require TPM
    5    Compatible TPM startup PIN: Do not allow startup PIN with TPM (unless you have a PIN requirement)
    6  OS drive recovery: Enable
    7    User creation of recovery password: Require 48-digit recovery password
    8    User creation of recovery key: Do not allow 256-bit recovery key (unless you have an offline retrieval workflow)
    9    Save BitLocker recovery information to Microsoft Entra ID: Enable
    10    Store recovery information in Microsoft Entra ID before enabling BitLocker: Require

    The two lines that matter most are Save BitLocker recovery information to Microsoft Entra ID and Store recovery information in Microsoft Entra ID before enabling BitLocker. The second one stops BitLocker being turned on unless the recovery information has been successfully stored in Entra ID. Without it, a drive can encrypt with a key that never reached Entra ID.

    Set these under OS drive recovery, not Fixed drive recovery, which covers only fixed data drives. Setting names differ between this template, the endpoint security disk encryption profile and the settings catalog, so check them against the Microsoft documentation linked above.

  3. Assign to a pilot group, not the whole estate. Use an Entra ID dynamic device group scoped to a small cohort:

    BitLocker key escrow
    1(device.deviceOSType -eq "Windows") and (device.displayName -startsWith "PILOT-")

    Roll this to production only after verification (below) passes on at least 20–30 devices across your hardware mix, because different OEM firmware and TPM versions surface different escrow timing bugs.

  4. For hybrid-joined devices, redirect explicitly. If your on-prem AD schema already has the BitLocker recovery attributes extended (most estates migrated from GPO-managed BitLocker will), you have a choice: keep escrowing there, or move to Entra ID and retire the old GPO. If moving, record the current GPO settings and links first, then disable the legacy GPO.

    Do not run both simultaneously, because conflicting policy can put the client in an error state where MBAM/GPO settings and Intune CSP settings fight over the same registry keys under HKLM\SOFTWARE\Policies\Microsoft\FVE.

  5. Set the companion compliance policy. Under Devices > Compliance policies, set Device Health > Require BitLocker to Require. It is measured at boot, so a device needs a restart after encryption before it reports compliant. This is what actually gates : the configuration profile enforces encryption, and the compliance policy reports and enforces the consequence of non-compliance.

Following along? Tap a step’s number to tick it off.

#Verify that the key reached Entra ID

Do not trust the Intune console alone; it reports policy application, not escrow success. Verify on three levels.

On the device, confirm the volume is protected and note the recovery ID:

1manage-bde -status C:
2Get-BitLockerVolume -MountPoint "C:" | Select-Object MountPoint, ProtectionStatus, KeyProtector

You need a RecoveryPassword key protector present, with a GUID you can cross-check against Entra ID.

In Entra ID, go to Devices > [device name] > BitLocker keys in the admin centre, or query via Graph. The Graph deviceId filter takes the device’s Entra deviceId attribute, not the directory object ID and not the Intune device ID. Obtain it with Get-MgDevice -Filter "displayName eq '{name}'" and read the DeviceId property (or from dsregcmd /status on the device, as DeviceId):

Escrowing BitLocker Recovery Keys via Intune and Entra ID architecture diagram 2
1GET https://graph.microsoft.com/v1.0/informationProtection/bitlocker/recoveryKeys?$filter=deviceId eq '{deviceId}'

Match the recovery key ID returned here against the GUID from manage-bde -status. If Graph returns an empty array for a device that shows encrypted locally, first confirm you used the Entra deviceId, then treat it as a possible escrow failure. This is the exact failure mode the whole exercise exists to prevent.

Across the whole estate, script a weekly audit rather than checking devices individually. This is read-only:

1Connect-MgGraph -Scopes "Device.Read.All", "BitLockerKey.Read.All"
2Get-MgDevice -All | Where-Object { $_.OperatingSystem -eq "Windows" } | ForEach-Object {
3  $keys = Get-MgInformationProtectionBitlockerRecoveryKey -All -Filter "deviceId eq '$($_.DeviceId)'"
4  [PSCustomObject]@{ Device = $_.DisplayName; KeyCount = @($keys).Count }
5} | Where-Object { $_.KeyCount -eq 0 } | Export-Csv no-key-candidates.csv -NoTypeInformation

Run this against your full estate weekly, not just the pilot, and be aware that a bulk Graph loop across all devices can be throttled and returns paged results, so batch the run or schedule it off-hours.

Treat the output as a candidate list for investigation, not a list of confirmed escrow failures: zero keys also includes devices that are not encrypted, not managed by Intune, or stale device records. Devices that drop off Wi-Fi mid-encryption or get re-imaged without re-enrolling can fall out of escrow, and nobody notices until a recovery is needed.

#Where escrow breaks and how to fix it

SymptomLikely causeFix
Device encrypted, no key in Entra ID or AD“Store recovery information in Microsoft Entra ID before enabling BitLocker” left at Not configuredSet it to Require in the profile and force a policy sync. For a volume that is already encrypted, back up the existing recovery-password protector with BackupToAAD-BitLockerKeyProtector (or rotate the protector) and verify the key appears in Entra ID. Decrypt and re-encrypt only as a last resort, after confirming data backups and owner approval
Hybrid-joined device escrows to neither locationDevice object hasn’t completed Entra Connect sync, or on-prem AD schema not extended for BitLocker attributesCheck sync status with dsregcmd /status, confirm schema extension with Get-ADObject against the msFVE-RecoveryInformation class
Conflicting policy error, encryption stallsLegacy BitLocker GPO still linked alongside the new Intune CSP profileUnlink or disable the old GPO for the target OU (note its settings first), run gpupdate /force, re-trigger the Intune sync
Compliance policy shows non-compliant despite encrypted drive“Require BitLocker” is measured by Device Health Attestation at boot, so the device has not restarted since encryption finishedRestart the device, then trigger a manual sync via Settings > Accounts > Access work or school > Info > Sync and re-check the compliance state
Recovery key present locally but Graph query returns nothingWrong ID in the filter — the Graph query needs the Entra deviceId, not the directory object ID or the Intune device IDResolve the Entra deviceId first via Get-MgDevice -Filter "displayName eq '{name}'" (the DeviceId property) and re-run the query

The GPO conflict is the one that catches out most junior engineers, because it doesn’t produce a clean error. Instead it produces inconsistent behaviour that looks like flaky hardware. Check for competing policy sources before you assume the device itself is faulty.

#Backing out when the profile encrypts the wrong devices

If the profile causes unexpected encryption on devices not ready for it (shared kiosk machines, lab equipment, anything without a documented owner for recovery), do not simply delete the configuration profile. Removing a profile does not decrypt drives, and you lose the policy that governs key escrow for them going forward.

  1. Remove the pilot device group assignment from the Endpoint Protection profile first, so no new devices pick it up. Do not tie this step to decryption.
  2. Removing the assignment does not by itself decrypt drives, and already-encrypted drives stay encrypted with their keys escrowed. Decryption is optional and should be done only for named devices, with the device owner’s approval and verified data and recovery-key backups; never apply it in bulk. If it is justified, decrypt explicitly and deliberately:
    1manage-bde -off C:

    then confirm with manage-bde -status C: until it reports “Fully Decrypted”.

  3. Keep the profile itself (unassigned) until you have confirmed which devices remain encrypted and that their keys are escrowed; delete it only afterwards, if at all.
  4. If you disabled a legacy BitLocker GPO as part of the change and need to fall back to it, re-link it to the OU and run gpupdate /force, but do this only after confirming no Intune CSP profile is still targeting the same device group, or you recreate the exact GPO conflict from the troubleshooting table above.
  5. Document the rollback in your change record with the device count affected and the recovery key IDs retired, in case an audit later asks why keys exist for drives no longer encrypted.

#What to remember about key escrow

Key escrow is a policy setting, but the actual objective is a recovery path that works at 2am when someone’s laptop won’t boot. Confirm join type before you build anything, because it decides where the key lands. Enforce the “store before enable” ordering so encryption never gets ahead of escrow.

Pilot on a small, hardware-diverse group before touching production, and build a recurring audit script rather than trusting the console dashboard, which tells you policy state, not escrow success. Retire legacy GPOs deliberately and never in parallel with the Intune profile.

Handled properly, this becomes a policy nobody thinks about again; handled carelessly, it becomes the incident where a director’s device gets wiped because nobody could produce the recovery key.

#Learning Objectives

By the end of this exercise an engineer should be able to distinguish escrow destinations by join type, configure the Endpoint Protection profile fields that control escrow timing, and independently verify escrow success rather than relying on Intune's reported policy state. The objective is not just to enable BitLocker but to prove, with evidence pulled from both the client and Entra ID, that a recovery key actually exists somewhere retrievable before a device is allowed into production rings.

A secondary objective is recognising the failure signatures covered in the reference material quickly enough to distinguish a genuine escrow fault from unrelated hardware flakiness, particularly the GPO-conflict symptom that mimics faulty TPM behaviour.

  • Identify join type (Entra-joined, hybrid-joined, on-prem only) before building any profile
  • Explain why 'store before enable' ordering prevents unescrowed encryption
  • Query Graph for recovery keys and reconcile against local manage-bde output
  • Build a repeatable, scheduled audit rather than a one-off manual check
  • Execute a safe rollback that removes the assignment first and decrypts only approved, named devices with verified backups

#Prerequisites

Access requirements: an account with Intune Policy and Profile Manager rights (or equivalent Endpoint Manager role), plus Entra ID permissions sufficient to read device objects and BitLocker recovery keys via Graph — specifically Device.Read.All and BitLockerKey.Read.All delegated or application scopes if scripting the audit.

Check the Microsoft Graph BitLocker recovery key documentation for the Entra roles that are supported for key access (for example Cloud Device Administrator, Helpdesk Administrator, Security Reader and Global Reader, which differ in whether they can read key metadata or the key itself), and test with a non-production account first rather than assuming role inheritance covers it.

Environment requirements: at least one test device per hardware SKU in the fleet, since TPM firmware version affects escrow timing behaviour. A hybrid-joined test device is required separately from an Entra-joined one if the estate has both, because the escrow destination logic differs and cannot be validated on one join type alone.

Tooling: PowerShell with the Microsoft.Graph module installed locally or in Cloud Shell for the audit script, and local admin rights on test devices to run manage-bde and dsregcmd. If the estate still runs a legacy BitLocker GPO, read access to the linked OU in AD is needed to confirm whether it is still active before attempting any profile rollout, since an unnoticed active GPO is the most common cause of the conflict failure mode.

Change management: because this profile can trigger encryption on devices not previously encrypted, a documented pilot scope and rollback plan should exist before assignment — not drafted reactively after a kiosk or lab machine gets caught by a broad dynamic group query.

#Worked Example

Consider a 40-device pilot mixing Entra-joined laptops and hybrid-joined desktops still linked to a legacy BitLocker GPO. Before touching Intune, dsregcmd /status is run against five sample machines: three return AzureAdJoined:YES with DomainJoined:NO, confirming pure Entra join; two return both flags set, confirming hybrid join with on-prem AD as the current escrow target.

The Endpoint Protection profile is built and assigned only to the Entra-joined subset first, using a dynamic group scoped to that cohort's naming prefix. After one policy sync cycle, manage-bde -status C: on a test laptop reports a RecoveryPassword key protector with GUID ending in 7f2a. The Graph query against that device's Entra deviceId returns a matching recovery key entry — escrow confirmed on the first attempt.

For the hybrid-joined subset, the legacy GPO settings are recorded and the GPO is disabled at the OU level before the Intune profile is assigned, avoiding the registry-key conflict under HKLM\SOFTWARE\Policies\Microsoft\FVE. gpupdate /force is run, followed by a manual Intune sync from Settings > Accounts > Access work or school.

A second manage-bde -status check on one hybrid device shows encryption completed, and the Graph BitLocker recovery key query returns the matching entry, confirming redirection to Entra ID succeeded rather than silently defaulting to the now-disabled GPO path.

One hybrid device in the pilot shows encrypted status locally but an empty Graph result. Cross-checking with Get-MgDevice -Filter reveals the query used the Intune device ID rather than the Entra deviceId; re-running with the correct deviceId returns the expected key. This is logged as a procedural note for the audit script rather than a genuine escrow failure, illustrating why the ID-mismatch trap in the failure table is worth checking before escalating a suspected escrow fault.

With all 40 pilot devices verified individually, the scheduled audit script is run against the pilot group as a rehearsal for full-estate use, exporting zero rows to no-key-candidates.csv — the expected clean result that justifies expanding assignment to the next ring.

Evidence trail

Sources and verification

Primary documentation and external technical references used in this article.

  1. 01BackupToAAD-BitLockerKeyProtectorlearn.microsoft.com
  2. 02BitLocker policy with Intunelearn.microsoft.com
  3. 03Microsoft Graph BitLocker recovery keyslearn.microsoft.com

About this page

Credited to

Dates

Published

Corrections

  • : Corrected during a review of published articles. Details
  • : Text damaged when it was saved (lost backslashes) was restored. Details
  • : Corrected during a review of published articles. Details

Found this useful? Follow KBY for more like it.

Reader Interaction

Comments

Add a thoughtful note on Escrowing BitLocker Recovery Keys via Intune and Entra ID. Comments are checked for spam and held for moderation before appearing.

Loading comments...

More from KBY that goes with this article.

Discover more

Was this useful?

Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.

Build practical engineering skills.

Receive new lessons, learning paths, practical exercises and early-career guidance.