We are a K12 and each summer we wipe and reprovision our fleet of thousands of devices. We have several config profiles scoped to each device based on a smart group (based on computer naming convention). For existing devices, each enrollment produces failed management commands because of a race condition surrounding the existing name in the database, and the rename of the machine at enrollment to the generic "macbook air" like name.
This is a problem for multiple reasons:
- buildup of failed commands in database
- more importantly, if computer name changed from X to Y, profiles scoped to X and Y remain because the removal of X commands fail until I clear failed commands
I'm having to clear failed commands from the database daily. Yes, they could be cancelled one by one, but our techs in the field don't have those permissions, and there's hundreds of failures a day.
Jamf has identified the issue as PI-005972, and this post is more a plea if you're having issues with failed commands during enrollment, please report it and mention the PI. Jamf has said I'm the only one who has reported this PI and it's unlikely to get traction I'm afraid.
