← 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.
| Hex | 0x800706FD |
|---|---|
| Decimal | -2147023107 (unsigned 2147944189) |
| Area | Autopilot |
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:
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, MessageOther autopilot errors
- 0x80180022 Autopilot device enrollment failed with error HRESULT = 0x80180022
- 0x80180014 Enrollment blocked for AP device by SDM One Time Limit Check (DeviceNotSupported)
- 0x80070774 Something went wrong... error code 80070774
- 0x800705B4 Securing your hardware (Failed: 0x800705b4)
- 0x801C03EA Registering your device for mobile management (Failed: 3, 0x801C03EA)
- 0x81039001 E_AUTOPILOT_CLIENT_TPM_MAX_ATTESTATION_RETRY_EXCEEDED
- 0x81039023
- 0x81039024
- 0x80070490
- 0xC1036501