← Free Scripts | Automation |Azure Automation

Set Intune Device Categories Automatically from the Enrollment Profile

An Azure Automation runbook that assigns a Device Category from the Autopilot or Windows 365 profile, so new devices land in the right group with no manual tagging.

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.

Read the Blog

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.