Workspace ONE Auto Tagging v1.1

This script tries to cover the missing capability of Workspace ONE UEM to create Smart/Assignment Groups based on Hardware Vendor or Chassis Type. These Smart Groups are then used to deploy Vendor-specific tools (like Dell Command Suite) or Device type-specific Software (eg. VPN Software to all Laptops).

I created and already used this script for different projects to solve this limitation. Please run it first with $allow_tagging = $false to check if everything is working fine, then you can set $allow_tagging = $true to actually start Auto-Tagging. Create a Scheduled Task to run the script, for example, every 5 minutes if you want to have permanent Auto-Tagging.

Added two new switches in v1.1 to allow

  1. Automatically create missing Tags in Workspace ONE UEM
  2. Tag devices according to their Model information (eg. to target specific software like Drivers or BIOS Updates)

Sign in to be able to add comments.

Comments 3


6737019842 3 years ago
Many thanks to @JosueNegron for your plenty valuable Code Samples which made it easy to understand and learn how to interact with the WS1 REST API.
2919600202 2 years ago
Hi Alex,

Many thanks for pointing this out and voting on MSFTI-I-116.

-Dhanushka
2205504277 2 years ago
where do I run this script and how do I verify if it's working in the console?
Thank you.