- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-29-2024 03:50 PM
What is the proper way to automatically enroll a new device into a Static Group during prestage enrollment? I'm using Sonoma 14.4.1. Currently I have to do this manually after the end user boots up the machine. There are policies configured to a certain Static groups new devices needs to belong in.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-29-2024 04:51 PM
It should happen automatically based on your Smart Group criteria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-29-2024 04:52 PM
Smart Groups are dynamic based on your criteria you've set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 04:11 PM - edited 04-29-2024 04:11 PM
You'll need to do an API call from the endpoint to add it to a static group. You could do this using the enrollment trigger in a policy

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-29-2024 04:34 PM
My question is why? A Smart Group configured for computers enrolled after a fixed date would achieve the same thing. I do that all the time when I'm dishing out a change that gets included in the enrolment process, so that the change isn't re-executed on fresh enrolments that already have it.
In short a Static Group shouldn't be used for an automatic group, that said, it is possible to combine, just make sure the Smart Group includes an OR is a member of the Static Group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-29-2024 04:45 PM
Ok I see your point. Rephrasing the question: how do I get it to assign to a Smart Group during enrollment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-29-2024 04:51 PM
It should happen automatically based on your Smart Group criteria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-29-2024 04:52 PM
Smart Groups are dynamic based on your criteria you've set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-29-2024 04:59 PM
I think this is correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-29-2024 05:01 PM
Looks similar to something I have so it should work

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-29-2024 05:12 PM
Much better, so you wanted to know about all the Macs enrolled via ADE/DEP and a specific PreStage Enrolment, and wanted to make sure fresh enrolments would automatically appear in the group (the why?).
It is easy to forget, Smart Groups are surprisingly powerful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 05:00 PM - edited 04-29-2024 05:03 PM
I just did this based on an EA we already had using ModTitan's Script . we move device in and out of groups, so we created a po-up menu EA. Just choose from the drop down to move computer to group or to a new group
