Configure Windows Autopilot for device activation

If you configure Windows Autopilot, the device is automatically activated when the user completes out-of-the-box setup using only their Entra ID username and password.
  1. Log in to the Microsoft Entra ID management portal.
  2. In the section for Windows device enrollment, create a Windows Autopilot deployment profile.
  3. Enter a name and description for the profile.
  4. Configure the out-of-box experience settings.
  5. Assign the profile to the appropriate user groups.
  6. Save the profile.
  7. Complete the following steps on each Windows 10 device that you want to activate with Windows Autopilot:
    1. Turn on the device to load the out-of-the-box setup and connect to a Wi-Fi network.
    2. Press CTRL + SHIFT + F3 to restart and enter audit mode.
    3. Run Windows PowerShell as an administrator and run the following commands:
      Save-Script -Name Get-WindowsAutoPilotInfo -Path C:\Windows\Temp
      Install-Script -Name Get-WindowsAutoPilotInfo
      Get-WindowsAutoPilotInfo.ps1 -OutputFile C:\Windows\Temp\MyComputer.csv
    4. Collect the resulting .csv file from each device.
  8. In the Microsoft Entra ID management portal, in the section for Windows device enrollment and Windows Autopilot devices, import the .csv file from each device.
  9. In the system preparation tool dialog, do the following:
    1. For the system cleanup action, select the option to enter system out-of-box experience (OOBE) and deselect generalize.
    2. In the shutdown options, select the option to reboot.