I'm trying to set up and test LogCollection. I created a Jamf user account and want to give it the barest privileges, only what is needed to connect and upload the logs. The only privileges I have configured for this account is create/update Attachment Assignments and create/update File Attachments.
When I run the policy, I get the error "The request requires user authentication". What else do I need to provide this account to be able to connect and upload the log files?
Solved! Go to Solution.
I configured my LogCollection account with full access and I'm still getting the same error. I can read the inventory information successfully by pointing my browser to https://(server).jamfcloud.com/JSSResource/computers/serialnumber/(serial)/subset/general. It seems to fail at the file upload part of the script.
It works fine if using logCollection.sh, I was trying to use logCollection-encStrings.sh to encrypt the password. Why is that one not working? I'm confused about this command in the script:
jamfProPass=$( echo "$6" | /usr/bin/openssl enc -aes256 -d -a -A -S "$8" -k "$9" )
What is &8 and &9, there are no arguments passed for those.