Hi,
I’m testing the ClearPasscode MDM command: https://developer.apple.com/documentation/devicemanagement/clear-passcode-command
Question: If a user enters the passcode incorrectly multiple times and the device becomes temporarily locked (e.g., “Try again in X minutes”) or reaches “Security Lockout”, can ClearPasscode still be executed successfully while the device is in that state?
{'ErrorCode': 5013,
35708 'ErrorDomain': 'MCPasscodeErrorDomain',
35709 'LocalizedDescription': '\xe3\x81\x93...x89',
35710 'USEnglishDescription': 'The passcode cannot be cleared (-1)'}
If it depends on conditions (e.g., supervised vs. user enrollment, availability of UnlockToken, network/check-in state), could you clarify which conditions are required?
Thank you.