Device cleanup

Comprehensive automation for device cleanup

This solution improves my previous device cleanup script with several key changes:

  • Backup BitLocker keys and LAPS passwords to Azure Key Vault
  • Optional handling of Autopilot devices
  • Improved error handling
  • Expand to native Graph API, Graph PowerShell, and Entra PowerShell
  • Published in Azure Automation gallery

My previous solution can be found here:

https://nathanmcnulty.com/blog/2023/04/azure-automation-device-cleanup-v2/