I'm currently working on a workflow to resolve some missing Secure Tokens for users at a client site. Because I don't want to test on production machines, I've got a machine here that I've enrolled in my own Jamf tenant to test against. My issue? I can't REMOVE Secure Token from one of the test users on this machine so I can test the script.
FV is not enabled, the admin user has Secure Token. I run the following command in CLI and get an error:
sudo sysadminctl -adminUser <username> -adminPassword <password> -secureTokenOff <username> -password <user-password>
Result: "Operation is not permitted without secure token unlock"
(I also played around with the order of things in the command, no difference)
My GoogleFu is failing me because everything I'm finding relates to ADDING Secure Token to a user who does not already have it.
Can anyone shed some light on this for me? Thanks