Hello Everyone,
Just shy of three weeks ago I participated in a conversation regarding [https://jamfnation.jamfsoftware.com/discussion.html?id=19398](signing users out of the App store via a script). The script does it's job when ran via Terminal or in Apple's Remote Desktop client—no issues whatsoever.
I have gone ahead and put together the following script that signs in, updates the programs, then finally signs out:
This works perfect when done by hand, but pushing through JAMF's Self Service causes issues. Notably "Can't Install Item. There was a problem installing Update App Store Apps. Contact your administrator."
As per the original thread, the MAS command line tool was placed in /usr/local/bin/.