Skip to main content
Solved

How to Delete Smart Device Group?

  • December 14, 2023
  • 2 replies
  • 26 views

Forum|alt.badge.img+3

I'm needing to delete a ton of Smart Device Groups but they all have apps associated to them.  How can I delete these groups without having to go into each one and remove the apps first.  I have 80+ groups and do not want to do each one manually.

Best answer by AJPinto

Unfortunately, you can't. You will need to do this one by one, eventually you will get it done.

2 replies

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • December 14, 2023

@jpblock82 You'll have to delete the reference to a Smart Group from anything that depends on it before you can delete the group. If the items with dependencies are disable you may be able to use https://github.com/BIG-RAT/Prune to delete the objects. Once the Smart Groups aren't referenced by anything Prune will allow you to remove them in bulk as well.


AJPinto
Forum|alt.badge.img+26
  • Legendary Contributor
  • Answer
  • December 15, 2023

Unfortunately, you can't. You will need to do this one by one, eventually you will get it done.