This is now two days i'm a stuck on it, i try to do a one button erase on self service, no problem for intel laptop, but as Apple ask a password with the new m1 chip, and our internal security team do not want to put a clear password in a script, how can i manage to make it work?
Is it possible to have a popup screen ask for the password for the reinstall of macos ?
Do other people have the same problem?