Endpoint Manager - How to Remove a Device from MEM and Azure

 

Use this guide to reset a device and prepare it for a new user.

Removing a device from on prem Active Directory is only necessary for Hybrid AD devices.

Removing a Device from Users and Computers (Active Directory on Prem)

  1. This is only applicable if the device was Hybrid AD. If it is not then you can move onto the next section.

  2. Open Active Directory Users and Computers

  3. Right click on “co.ssd.k12.mo.us” and select Find…

  4. Type in the Computer name of the object you’re looking for

  5. Right click on that object and delete it

Removing a Device from Endpoint Manager and Autopilot

You will use Azure AD and Endpoint Manager for the next steps

Google Chrome or Microsoft Edge is the best browsers to use for this.

  1. Record the serial number of the device that needs to be removed.

    1. In my example you'll find that I'm working on device 5X38M63.

  2. Log into Office 365.

  3. Either using the tiles to the left of your screen or select the "Waffle" in the top left to get a list of options to chose.

  4. Select the Admin Tile.

  5. The tile looks like this and will open a new screen:

  6. Select "Show All" on the left menu area.

  7. Select "Endpoint Manager".

  8. Chose "Devices" on the left panel.

  9. Chose "Windows".

  10. You can search for the device by its Serial Number.

  11. Select the record you want to work with.

  12. In most cases the name of the records should match between Endpoint Manager and Azure AD

  13. Select the Delete option (Looks like a trash can).

  14. Select "Yes" when asked to confirm deleting the record.

  15. Next we'll need to remove the Autopilot record from MEM.

  16. Click Devices.

  17. Click Enrollment.

  18. Under "Windows Autopilot" select Devices.

    image-20240926-150935.png

     

  19. Put the serial number of the device you want to check up on here.

  20. Check the box to the left of the box of the device we want to remove.

  21. Click the "Delete" option.

  22. Select the "Yes" option to confirm the operation.

  23. If you click the bell icon you can see the status of the deletions taking place. Autopilot deletion will take several minutes. You don't have to wait. You can move onto the next step.


Removing a device record from Azure Active Directory

You may skip the first few steps if you know how to navigate to Azure Active Directory.

  1. Log into Office 365.

  2. Either using the tiles to the left of your screen or selecting the "Waffle" in the top left look for the Admin tile.

  3. Select the Admin Tile.

  4. The tile looks like this and will open a new screen:

  5. Select "Show All" on the left menu area.

  6. Select "Identity".

    image-20240926-151200.png

  7. You will select "Devices" again on the panel on the left. 

    image-20240926-151303.png

  8. Select "All Devices".

  9. Search for the device name. In my case I'm looking up SSD-5X38M63. If the device is a Hybrid AD device there will be two records like shown below. If its not there will only be one record.

  10. Select all matching device records. 

  11. When you do this the trash can icon with the selection "Delete" will be available. Chose this.

  12. If the records do not delete then its likely there's something connected to MEM still.


Next steps - Use the Confluence Page on Importing the device into Autopilot