Posted on 03-28-2023 02:23 AM
Folks,
I'm a new learner of Jamf. When I explore I found that no option to check the device ownership in Jamf nevertheless the devices are enrolled via user-initiated enrollment unable to find it's COD or BYOD. Kindly help on this. Thanks.
Posted on 03-28-2023 03:27 AM
If you're talking about macOS, I don't believe there is an attribute for COD vs BYOD. In most cases it's recommend that you use Automated Device Enrollment for all corporate owned devices, and only resort to user initiated enrollment for BYOD. If you do that then you could use the enrollment type attribute to distinguish the two. After enrollment there really isn't any difference between devices since user initiated enrollments now are supervised by default.
Posted on 03-28-2023 06:07 AM
The computer records themselves will show user enrolled or Apple Business Manager Enrolled. I wrote an Extension Attribute that will have the computer check its ABM Status.
#!/bin/sh
ABMCheck=`/usr/bin/profiles show -type enrollment | grep ConfigurationURL | cut -d '"' -f2`
if [ "$ABMCheck" != "<your enrollment URL" ]; then
result="Not ABM"
elif [ "$ABMCheck" = <your enrollment URL ]; then
result="ABM"
fi
echo "<result>$result</result>"
03-28-2023 10:54 AM - edited 03-28-2023 10:56 AM
We use Enrollment Method attribute to separate inventory by Macs enrolled via Automated Device Enrollment (aka ADE) and via User-Initiated Enrollment methods. ADE means only devices on company ABM means COD, everything else means everything else :)