Solution:
Root Cause: Health Attestation Service (HAS) Endpoint Timeout or Measured Boot Log Corruption Intune uses Device Health Attestation (DHA) to verify hardware-rooted security features (Secure Boot, BitLocker enabled in early boot, Driver Signature Enforcement, Code Integrity). If the local Measured Boot log in
C:\Windows\Logs\MeasuredBoot becomes corrupted, or if outbound access to
*.has.smarterdevices.microsoft.com is blocked by corporate firewalls, health attestation evaluation fails.
Diagnostic Verification: 1 Open PowerShell as Administrator and verify local Secure Boot state:
Copy
powershell
Confirm-SecureBootUEFI
2 Check Event Viewer: Applications and Services Logs > Microsoft > Windows > DeviceHealthAttestation > Operational for HTTP timeout errors or Event ID 101.
Step-by-Step Fix: 1 Enable Secure Boot in UEFI/BIOS:
Restart the PC and enter BIOS setup. Ensure Secure Boot is enabled and Platform Mode is set to User Mode / Deployed Mode. 2 Clear Corrupted Measured Boot Logs:
Open PowerShell (Admin) and run: Copy
powershell
Stop-Service -Name "hasSvc" -ErrorAction SilentlyContinue
Remove-Item -Path "C:\Windows\Logs\MeasuredBoot\*" -Force -Recurse
3 Verify Outbound Network Connectivity:
Test access to the Microsoft Health Attestation endpoints: Copy
powershell
Test-NetConnection -ComputerName "has.smarterdevices.microsoft.com" -Port 443
4 Reboot Device to Regenerate Measured Boot Log:
Prevention & Long-Term Monitoring: Ensure corporate network proxies do not perform SSL inspection on DHA attestation URLs.