azureblog.co.uk
Intune error · 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 lineshover a line number for notes
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
What each line does
  1. Line 2: Reads win event details.
  2. Line 3: Keeps only the items that match the condition.

Other autopilot errors

Search all 116 codes →

Spotted something out of date or wrong? Tell us and we'll fix it.