Skip to main content

Autopilot Notes

Last Updated: June 1, 2021

There are a couple of methods to enroll devices into Autopilot.

Serial Numbers

You can import a list of serial numbers with the manufacturer if you are a Microsoft Partner through the partner portal.

Go to the Partner portal, click CSP -> Customers, click on your customer, click Devices, add devices.

This is an example of importing a Microsoft Surface device.

Device serial number,Windows product ID,Hardware hash,Manufacturer name,Device Model
00000000,,,Microsoft Corporation,Surface Laptop 4

And easier method is to use the ms-partner-tools Python library and CLI available through pip. More info at techstormpc/ms-partner-tools.

partnertools-cli register-device

Hardware Hash

Install-Script -Name Get-WindowsAutoPilotInfo
Get-WindowsAutoPilotInfo.ps1 -OutputFile AutoPilotHWID.csv

Importing devices

Go to the Microsoft Endpoint Manager portal.

Import device has into Devices → Enroll Devices → Autopilot Devices.

Import CSV that you exported in the script at the top. It will take a few minutes to update.