Capture the full state. Run `dsregcmd /status` in an elevated prompt and note Device State, User State, and any error detail under the diagnostic section. Expected output: AzureAdJoined shows NO and the tenant details are either present or empty, which tells you whether discovery succeeded.

If tenant details are empty, discovery failed. From the device, confirm it can open the tenant discovery address for your organization in a browser and that no proxy authentication page intercepts it. Expected output: the discovery request returns tenant JSON or a clean sign-in redirect, not a proxy block page.

Check the clock. Run `w32tm /query /status` and compare with a known-good time source. Expected output: offset under a minute; larger skews break the signed registration request, so sync time and retry.

Remove the failed registration state. Run `dsregcmd /leave`, restart, and confirm `dsregcmd /status` shows a clean not-joined state with no leftover certificate thumbprint. Expected output: Device State fields are empty rather than holding the failed attempt.

Register again through Settings, Accounts, Access work or school, Connect, using the work account. Then run `dsregcmd /status` again. Expected output: AzureAdJoined reads YES and a device certificate thumbprint is present.