Recently I had an iPad that had a passcode set. I tried to use the Clear Passcode command but it did not work. I then tried the Wipe Device command and that worked immediately. So I know the iPad was connected to the WiFi.
Why didn't the Clear Passcode command work? The iPad was also in something called "Guidance Mode" and it was kind of locked on Safari that was opened. If you tried to push the button or swipe, you got a message about having to push the button 3 times and enter passcode. Could that have been why the command didn't work?