Objective
Establish a managed and compliant lab endpoint that can present its device state during Microsoft Entra sign-in.
Architecture and configuration
- Windows 11 Hyper-V VM
- Entra join
- Intune MDM enrollment
- Policy and compliance reports
I used a Generation 2 Windows 11 Enterprise evaluation VM with Secure Boot and a virtual TPM. The scoped lab account and group provided the enrollment and policy assignment boundaries.
The VM joined Entra but initially showed no MDM enrollment. The lab runbook records manual enrollment using the Microsoft Intune discovery endpoint, a successful Windows management sync and later appearance in Intune inventory.
I applied lab-scoped policies requiring BitLocker encryption, enabling Windows Firewall on the Domain, Private and Public profiles, and enabling Defender real-time, behavior and on-access protection. I assigned a separate Windows compliance policy for minimum OS version, storage encryption, firewall, antivirus, Defender Antimalware and real-time protection.
The volume initially reported fully encrypted with Protection Off. The runbook records recovery-key escrow verification and a final Protection On state. A bootable ISO was still mounted when TPM protector creation returned 0x80310030. I detached the ISO and rebooted. When 0x80310031 indicated that the TPM protector was already present, I checked the existing protectors.
Tests and outcomes
| Test | Method | Observed result |
|---|---|---|
| Verify cloud join | Check Device State and Device Details with dsregcmd /status. | The VM showed AzureAdJoined = YES and DeviceAuthStatus = SUCCESS. Screenshot evidence · MD-01 |
| Confirm management | Request a Windows management sync and check Intune inventory. | The runbook records a successful sync and later inventory appearance. Lab record |
| Confirm policy application | Open the VM’s device-specific configuration report. | BitLocker, Firewall and Defender Antivirus all showed Succeeded. Screenshot evidence · MD-02 |
| Verify device posture | Open the compliance policy’s setting results for the same VM. | All six Windows settings showed Compliant. Screenshot evidence · MD-03 |
| Verify BitLocker protection | Check volume protection, protector types and recovery escrow. | The runbook records Protection On and a recovery key backed up to Entra. Lab record |
Evidence
The pilot VM reported AzureAdJoined = YES, DomainJoined = NO, TpmProtected = YES and DeviceAuthStatus = SUCCESS.
Open full-size image
The Intune device configuration view shows Succeeded for BitLocker encryption, Microsoft Defender Antivirus and Windows Firewall.
Open full-size image
The device report shows Compliant for minimum OS version, storage encryption, firewall, antivirus, Microsoft Defender Antimalware and real-time protection.
Open full-size imageCaptures unavailable
- The runbook documents the initial Entra-joined state before Intune enrollment, recovery-key escrow and local BitLocker Protection On. Publishable captures for those states were unavailable.
Lessons
I used device-specific reporting after the policy summary counters changed and a report appeared blank. Join state, MDM enrollment, policy application and compliance each required a separate check.
Related case studies · Conditional Access sign-in evaluation · Windows Hello sign-in on Hyper-V