← Free Scripts | Automation |Azure Automation

Device Category Automation

Automatically assign Intune Device Categories based on the Autopilot or Windows 365 enrollment profile.

Intune Device Categories are useful for dynamic groups and reporting, but Intune will not set them for you based on how a device enrolled.

This Azure Automation runbook reads each device’s Autopilot or Windows 365 enrollment profile and assigns a matching Device Category automatically, so new devices land in the right bucket without manual tagging.

Schedule it in Azure Automation and let category assignment run itself.

Get it from the PowerStacks intune-device-category-automation repository:

GitHub
Device CategoriesAutopilotWindows 365

Want simplified Intune reporting?

PowerStacks BI for Intune and App Store for Intune do the heavy lifting, all inside your own tenant, with nothing leaving it.