The QR code text was built once at script startup. If the device wasn't AAD-joined yet, it showed "Device not yet Azure AD joined" forever - even after Phase 1 checks passed. Now regenerates Build-QRCodeText when Phase1.AzureAdJoined transitions to true. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>