Hello,
When laptops fail conditional access checks due to Device Health Attestation (DHA), the root cause is usually one of three things: TPM 2.0 not being active or ready, Secure Boot not being enforced, or the client failing to reach the DHA service endpoint. Each of these needs to be verified systematically.
For TPM 2.0, open an elevated PowerShell session and run Get-TPM. The output should show TpmPresent: True, TpmReady: True, and SpecVersion: 2.0. If the TPM is present but not ready, you may need to clear and reinitialize it from the BIOS/UEFI firmware settings. Also confirm that the BIOS is not set to “Discrete TPM disabled” or “Firmware TPM off.”
For Secure Boot, check with Confirm-SecureBootUEFI. If the command returns True, Secure Boot is enabled. If it returns False or throws an error, you need to enable Secure Boot in the UEFI firmware. Note that Secure Boot requires UEFI mode; if the machine is running in legacy BIOS mode, it cannot be enabled.
For DHA endpoint access, the client must reach the Microsoft Health Attestation Service. The endpoint is https://attestation.microsoft.com. In an enterprise environment, conditional access policies rely on the device submitting its health report to this service. If the laptops are behind a proxy or firewall, ensure outbound HTTPS traffic to that endpoint is allowed. You can test connectivity with Test-NetConnection attestation.microsoft.com -Port 443. If this fails, the device cannot complete health attestation and will be blocked.
In practice, the verification sequence is: confirm TPM 2.0 is active and owned, confirm Secure Boot is enabled, and confirm the client can reach the DHA endpoint. If all three are correct, the device should pass conditional access checks. If any of these fail, remediation must be done at the firmware or network level before the device can be considered compliant.
I hope you've found something useful here. If it helps you get more insight into the issue, it's appreciated to accept the answer. Should you have more questions, feel free to leave a message. Have a nice day!
Domic Vo.