Hello,
We were using that solution for setting Big Sur deployment policy in Self Service:
https://www.jamf.com/blog/streamlining-your-macos-upgrade-process/
As far as I understand, it doesn't work on M1 Macs because it requires password for restart - as well as similar modified script for Monterey . There is an error in execution log:
Error: failed to authorize for installation. Provide a password with --stdinpass or --passprompt
I am thinking to create temporary admin account for policy execution, then delete this account when Monterey is installed. Would you please help me to modify deployment command, where account name and password should be added?
##Start macOS Upgrade
/Applications/Install\\ macOS\\ Monterey.app/Contents/Resources/startosinstall --agreetolicense --nointeraction --forcequitapps --pidtosignal $jamfHelperPID >> /var/log/startosinstall.log 2>&1 &
Thanks!