Forum Discussion

yashsedani's avatar
yashsedani
Brass Contributor
Sep 27, 2021

Devices still shows up in AAD after deleting/retiring from Intune

Hi,

I have noticed that after deleting/retiring devices (Mobile or Laptop) from Intune, they still show up in Azure Active Directory associated with the user. Is this a know thing?

 

I was expecting them to get devices deleted from AAD once the devices are deleted from Intune. Anyone has encountered this issue or anyone knows what is the best practice to follow?

 

Thanks,

Yash

1 Reply

  • ThomasKurth_ch's avatar
    ThomasKurth_ch
    Copper Contributor
    Hello

    No, it would be great if the system would do that, but AAD and Intune are different systems. Keep in mind that records of a device can also existing other systems like Antivirus Consoles, Autopilot, MEMCM, on-premises Active Directory and much more. To overcome this issue I normally try to make the CMDB the primary data store and create automation processes which get triggered when we set a device to end of life. The automation process based on PowerShell/Azure Automation can then trigger the cleanup in all systems.

    If I don't have a CMDB you could compare the different lists and delete records which are no longer required. An example can be found here: https://www.wpninjas.ch/2019/09/cleanup-duplicated-devices-in-intune/

Resources