Posted on 01-04-2019 02:06 AM
Hi
Im not sure if this was discussed already.
we are using Jamf Pro Version 10.7.0
We have a requirement to add certain computers to static groups , even before the computer is enrolled via DEP.
I could create a computer entry by Create Computer API (JSSResource/computers/id/0).
By default , the computer gets created in JAMF as "unmanaged".
When i try to add the computer to required static group by (JSSResource/computergroups/id/<groupId>) , I get error response from API.
Im not able to manually add the entry using "Jamf Pro" UI interface as well, since the "unmanaged" computers are not being listed under assignments.
Any pointers on the same.
Posted on 01-04-2019 04:55 AM
Would an advanced search for unmanaged devices suffice?
Posted on 01-04-2019 05:55 AM
Unmanaged devices can not be added to groups because they can not be managed.
If you are looking to take action on devices once they become managed, create smart groups for devices that meet a certain criteria and add those groups to the scope of your policies, profiles or apps.
Posted on 01-04-2019 07:16 AM
Add to a group before enrollment? You can do that with a Smart Computer Group using the criteria: Serial Number. Of course you have to know the serial numbers and then manually add each of them to the smart group, but it will work.
Posted on 01-08-2019 01:35 AM
Thanks for the pointers. I had tried with smart group earlier and it worked. Static group is that not working.