Event banner
Feedback wanted! IT made easy with low-code workflows
Event Ended
Wednesday, Nov 29, 2023, 08:30 AM PSTEvent details
Let's talk! Find out what's available to simplify IT tasks with automation and orchestration. Share your company's goals around automating Intune with low-code/no-code solutions. Help shape Intune's ...
Char_Cheesman
Updated Dec 27, 2024
treestryder
Nov 29, 2023Iron Contributor
Decommissioning devices would be an area we would like to be automated by Microsoft.
For us, this is merely deleting all of its objects after it has been wiped. While we have been migrating to fully cloud managed devices, I have scripted the deletion of any remaining Intune, Autopilot, Entra, Configuration Manager, and AD objects. To make this simple for our techs, they simply add the Entra object to a special Entra group. Once our 150 remaining physical PCs are migrated and we only have to delete the Intune, Autopilot, and Entra objects, I would love to move this on-prem scheduled task automation to the cloud. Any hints on where to begin?
PKlapwijk
Dec 01, 2023MVP
We have build our own solution for this with Azure Logic Apps (but it can be accomplished with some Azure Automation as well).
In short local IT adds the serial number to a SharePoint List, which triggers our flow. The flow checks Intune, Azure AD and the Autopilot service for the existing objects for the serial number and deletes the objects in these service.
If interested, I shared this in a blog post (sorry for the self promotion :)) https://www.inthecloud247.com/windows-autopilot-lifecycle-automation-with-logic-apps-part2/ You can always reach out to me on socials if you have questions related to this.