Help with Smart Computer Group

luke_sthildas
New Contributor

HI all, we are deploying Jamf Connect to our Mac fleet, and I am trying to sort out the process for everything.

What we are doing is using an enrolment customisation to grab the LDAP details of the user, create the local user account so it is MDM enabled (this is so we can deploy user certificates with a SCEP profile for wifi), then we want to deploy Jamf Connect and link the 2 users.

The part I need help with is a smart computer group, that only adds the computers that are part of the Pre-Stage Enrolment we use for Jamf Connect, and once they have finished their enrolment. I can only see Last Enrolment Date as an option, but the computer is added to this group before the enrolment is complete.

Can anyone suggest an option on how to achieve this?

3 REPLIES 3

junjishimazaki
Valued Contributor

Try searching for the criteria called Enrollment Method: PreStage enrollment. Then use your Pre-stage enrollment name as the criteria.

Initially this is what I tried, but the devices are getting added to the smart group before they are finished being setup. I think the problem is that technically the enrolment is completed in that first screen, then it moves on to creating the local user using the LDAP customisation.

 

I need to wait until the local user is created and computer is logged in, before it gets added to the smart group. As I have the Jamf Connect settings being applied before the local user is created.

 

I hope I'm explaining it clearly.

luke_sthildas
New Contributor

So I think what I want is to add the computers to the smart group once the .AppleSetupDone file has been created. Then have it deploy settings for Jamf Connect based on the smart group membership.