Add Enrollments as attributes that can be used in dynamic groups
We have started setting up different Enrollments in our SimpleMDM instance to handle a split between certain internal OU's/departments as part of a management strategy to handle some internal circumstances.
One thing that I'd like to be able to do is use the Enrollment that a device belongs to as an attribute that can be used in dynamic groups.
For example, we have two Enrollments, for this scenario, they are:
- Apple Farm
- Banana Farm
I would like to have all devices that get assigned to Apple Farm to belong to various dynamic groups, and Banana Farm to belong to other dynamic groups.
At the moment the only way to achieve this is to set a custom attribute which is cleared when the enrolled device is removed from SimpleMDM (for instance, removing it to from SimpleMDM before performing a DFU to get a full ADE workflow completed).
The benefit for us is being able to have this dynamic group membership become truly dynamic without relying on ensuring a custom attribute is set through some process (manual or automated), which would then mean if a device is transferred in Apple School/Business Manager to a different SimpleMDM enrollment, that dynamic membership is truly automatically handled.