Posted on 12-07-2021 12:35 PM
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
Posted on 01-13-2022 03:05 PM
I am seeing this behavior on macOS Monterey v12.1 with the learning Ally App. Invalid Status Code is the error message the pops up when trying to install the app.
Posted on 01-14-2022 09:03 AM
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
Posted on 01-14-2022 09:17 AM
Ok, I wonder what the fastest way to automate setting English as the main language is with JAMF on macOS 12?
Posted on 01-14-2022 09:19 AM
I just used a script fired by policy to run those. Config profile would work, but it would lock the language to en-US.
01-14-2022 09:20 AM - edited 01-14-2022 09:21 AM
I am going to try:
sudo /usr/sbin/languagesetup -langspec en-US
Posted on 01-14-2022 09:21 AM
let me know. I was working with Monterey myself and those are what Jamf supported provided.
Posted on 01-20-2022 12:35 PM
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.
Posted on 06-23-2022 09:26 AM
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.
Posted on 06-23-2022 09:32 AM
it's client side. make sure you're getting back en-US when running the above. You may need to reboot, you'll also likely need to clear the failed commands, then do a recon so Jamf re-pushes them.
Posted on 06-23-2022 10:51 AM
tbh, I have no idea what happened. I just erased the same Mac, let it goes through Automated Device Enrollment, and the apps are coming back. I do have issues with profiles getting pushed over and over, just one hour the device received over 1000 commands for the same profiles.
Posted on 06-23-2022 11:26 AM
I've seen that with machines that don't have approved MDM on older jamf versions where it keeps trying to push some profile that requires MDM approval, but doesn't stop trying.
Anywho, glad it worked. =)