Issue with EraseDevice Command

Hi Team,

We are trying to erase a mac using following EraseDevice Command with PIN. But We are getting different behaviour in devices.

Device Model : MacBook Pro with T2 Security chip macOS : 11.7.2 Result : Device gets wiped but it does not ask for the six digit PIN while installing OS.

Device Model : MacBook Air with No Security chip macOS : 12.6.1 Result : Device does not get wiped. It reboots and asks for the six digit PIN before starting.

Could you please let us know what is the exact behaviour of Erase Command in different macOS?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Command</key>
    <dict>
        <key>DisallowProximitySetup</key>
        <false/>
        <key>PreserveDataPlan</key>
        <true/>
        <key>RequestType</key>
        <string>EraseDevice</string>
        <key>PIN</key>
        <string>123456</string>
    </dict>
    <key>CommandUUID</key>
    <string>%GUID%</string>
</dict>
</plist>
Issue with EraseDevice Command
 
 
Q