How to DisEnrolle Device (AutoPilote Process)

Mon Blog

Delete Devices from Intune and AAD

Follow these steps to manage devices:

  1. Go to Intune.Microsoft.com.
  2. Navigate to Devices → Windows → Windows Enrollment → Devices.
  3. Select the devices you want to delete from the AP process and click "Delete".
  4. Wait for 2 minutes.
  5. Go to AAD in Azure Portal.
  6. Navigate to Devices → All Devices.
  7. Search for the devices you want to delete from AAD.
  8. Disable the devices and then click "Delete".

Alternatively, you can use the PowerShell script AutoPilotNuke during the OOBE process:

  1. Open PowerShell by hitting Shift+F10 during OOBE.
  2. Run the following commands:
  3. Install-Script AutopilotNuke
    & 'C:\Program Files\WindowsPowerShell\Scripts\AutopilotNuke.ps1'
                
  4. Follow the prompts to connect to Azure AD and Intune Graph.
  5. Search for the serial number of the machine.
  6. Show all objects in Intune and AAD related to that serial number.
  7. Ask if you want to delete from Intune and/or Autopilot.
  8. Choose to skip or add it to AP.

Leave a comment