FYI
Just got this error on all my machines after editing a policy.
jamf policy →
Mon Dec 07 14:45:17 My MacBook Pro jamf[909]: Enforcing management framework... Mon Dec 07 14:45:18 My MacBook Pro jamf[909]: Enforcing scheduled tasks... Mon Dec 07 14:45:18 My MacBook Pro jamf[909]: Removing existing launchd task /Library/LaunchDaemons/com.jamfsoftware.task.1.plist... Mon Dec 07 14:45:18 My MacBook Pro jamf[909]: Adding launchd task com.jamfsoftware.task.1... Mon Dec 07 14:45:19 My MacBook Pro jamf[909]: Creating launch daemon... Mon Dec 07 14:45:19 My MacBook Pro jamf[909]: Creating launch agent... Mon Dec 07 14:45:19 My MacBook Pro jamf[954]: Informing the JSS about login for user schattc Mon Dec 07 14:45:21 My MacBook Pro jamf[954]: Informing the JSS about login for user schattc Mon Dec 07 14:45:21 Schatt's MacBook Pro jamf[966]: Checking for policies triggered by "recurring check-in"... Mon Dec 07 14:45:23 My MacBook Pro jamf[966]: There was an error. Invalid Message - The message could not be parsed.
How I troubleshot this:
- Rolled by my policy to the original data → same issue
- Went to https://jss/changeManagementLogs.html to replay my changes
I then clicked on 'details' and noticed this:
Distribution Point ID -1
I then deducted it's because I don't have any Distribution point configured.
For the story, here's why:
- my JSS was destroyed by the ops team by mistake (it’s a sandbox, no worries)
- I setup a new one with same address and credential
- overnight, AutoPkg pushed his package on the distribution point and the JSS
- but I didn’t configure the distribution point on the JSS (hence the code "Distribution Point ID -1")
- now that I have setup the distribution point again, it works
Key takeaway is: Use https://jss/changeManagementLogs.html