Skip to main content
Solved

How to Delete Smart Device Group?


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.

View original
Did this topic help you find an answer to your question?

2 replies

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3537 replies
  • 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
  • 2717 replies
  • Answer
  • December 15, 2023

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings