Use this verification path on an affected laptop:
- Check TPM version.
- Press Win + R, run
tpm.msc. - In TPM Management on Local Computer, check Specification Version.
- Device Health Attestation supports devices with TPM 1.2 or 2.0, but for Intune health attestation compliance checks, if the device is on TPM 1.2 and supports TPM 2.0, update to TPM 2.0.
- Press Win + R, run
- Verify UEFI and PCR7 binding.
- Open an elevated Command Prompt and run
msinfo32. - In System Summary, confirm:
- BIOS Mode =
UEFI - PCR7 Configuration =
Bound
- BIOS Mode =
- A computer with legacy BIOS and TPM 2.0 will not work as expected for this scenario.
- Open an elevated Command Prompt and run
- Verify Secure Boot state.
- Open an elevated PowerShell window and run:
Confirm-SecureBootUEFI - Expected result:
True.
- Open an elevated PowerShell window and run:
- Verify BitLocker PCR protection.
- Run:
manage-bde -protectors -get $env:systemdrive - Confirm the system drive is protected by PCR 7.
- Run:
- Verify DHA service connectivity.
- Both the device and the MDM server must be able to reach has.spserv.microsoft.com over TCP 443 (HTTPS).
- If that endpoint is unreachable, health attestation validation can fail.
- Check DHA/HealthAttestation errors if connectivity is suspected.
- Relevant HealthAttestation CSP errors include:
-
30= failed to send HTTP request -
31= failed to receive response -
32= failed to query HTTP headers -
33= empty response with HTTP OK -
34= empty response with HTTP error -
404= DHA service endpoint not reachable
-
- Relevant HealthAttestation CSP errors include:
- Validate what DHA reports to MDM.
- Health Attestation can provide MDM with device state such as:
- Secure Boot enabled
- BitLocker enabled
- ELAM loaded
- Boot and kernel debug enabled/disabled
- VSM enabled
- TPM provisioned with a trusted endorsement certificate
- Conditional access decisions depend on the MDM evaluating that attestation state and updating device compliance in Microsoft Entra ID.
- Health Attestation can provide MDM with device state such as:
If devices still fail conditional access after these checks, focus on mismatches in TPM version, UEFI/PCR7 state, Secure Boot result, or blocked access to has.spserv.microsoft.com:443.
References: