Answer · High impact

Autopilot import fails: device is assigned to another tenant

Symptom

Importing a hardware hash in the target tenant fails, or the device shows the old company's sign-in page after a reset.

Cause

The device is still registered in another tenant's Autopilot list. A device can be registered in one tenant only.

Resolution

  1. In the old tenant, delete the device from Intune, then from Windows Autopilot devices, then the Entra device object.

  2. If you no longer have access to the old tenant, ask the reseller or the previous owner to deregister it, or raise a Microsoft support case with proof of ownership.

  3. Import the hash again in the new tenant and wait for the profile to show Assigned before resetting.

Related script sample

Export Windows Autopilot devices with group tags →

Disclaimer. These samples are provided as is, without warranty of any kind. Read and test every script in a non-production tenant before you run it, and run reports before any command that changes or deletes data.