azureblog.co.uk
← cd ~/intune-errors
// intune-errors · Autopilot

0x800706FDThe trust relationship between this workstation and the primary domain failed.

Hybrid join pre-provisioning fails when a policy (for example a User Rights setting) needs domain controller connectivity during the technician flow and the device has no line of sight to a DC.

Hex0x800706FD
Decimal-2147023107 (unsigned 2147944189)
AreaAutopilot

How to fix it

Do not assign policies needing domain controller connectivity during the technician flow, or pre-provision on a network that can reach a domain controller.

Find it on the device

Collect the Autopilot diagnostics on the device (press Shift + F10 during OOBE for a command prompt), then look for the code:

powershell3 lines
mdmdiagnosticstool.exe -area "Autopilot;TPM" -cab C:\Temp\autopilot.cab
Get-WinEvent -LogName "Microsoft-Windows-ModernDeployment-Diagnostics-Provider/Autopilot" -MaxEvents 200 |
    Where-Object Message -match "0x800706FD" | Format-List TimeCreated, Id, Message

Other autopilot errors

Search all 116 codes →