Hi again folks

Azure AD device cleanup it’s crucial for ADDS (Active Directory Domain Services), AAD (Azure AD), and Intune-managed devices from a device lifecycle and its Dynamic device security groups in use in your environment.

Have you ever asked yourself the following?

  • how many active users do I have in ADDS
  • how many devices each user has registered
  • how many active users by device status = ENABLED
  • how many of these users are synced and licensed for Intune
  • how many intune-managed devices does each user have

I found this awesome script the other day when I was researching some Azure ad devices cleanup scripts

Thanks to Morgan [morgantechspace.com] for posting it 📝

Here’s the update I think we need due to the 100-device limit we have on the AzureAD PowerShell module – check the Script. 🥷

Also added the date, time, and the Export result to CSV based on the $dt variable

#mdm #adds #aad #intune #cleanup #management

Have fun.

Thiago Beier
Toronto, CA