Have a set of machines that we're adopting and for whatever reason, pushing VPP apps to them, I get "Invalid Status Code" in Jamf Pro, and the apps don't install.
These are running Monterey. I haven't seen this issue with other machines, but I'm not 100% sure if it's these specific machines or something else.
Curious if anyone has seen this. I did see this community thread, and did disable this option. No change, sadly. https://community.jamf.com/t5/jamf-pro/fix-for-vpp-apps-not-deploying-in-big-sur/td-p/225620
So, turns out, it's related to language. Opened a ticket with Jamf, and they said the language needs to be English, and the primary input needs to be English. And not just English, but US English.
What I got from Jamf
1. In Terminal, run the following. defaults read /Library/Preferences/.GlobalPreferences.plist AppleLanguages
2. If "English" perform the following sudo /usr/bin/defaults write /Library/Preferences/.GlobalPreferences AppleLanguages -array "en-US"
3. Restart the computer, then run the following commands in Terminal defaults read /Library/Preferences/.GlobalPreferences.plist AppleLanguages
Just wanted to add to this thread - saw the same "invalid status code" during VPP installation of an app on macOS 12.1. Used Jamf Remote to quickly issue above command (/usr/bin/defaults write /Library/Preferences/.GlobalPreferences AppleLanguages -array "en-US") followed by a remote reboot, then app installed correctly on next push.
Out of nowhere, this Invalid Status Code shows up, there are no changes to my end for the past few days and I am just scratching my head how and why this will happen. Even I run the command, half of the apps are still failing until I cancel the failed commands.
I just put in an urgent ticket with JAMF and see what they have to say.