A wiped Mac was trying to go through Automated Device Enrollment again and showed an enrollment error during Setup Assistant. The Mac was still listed as Assigned under Apple Business Manager > Automated Device Enrollment in Hexnode.
The time on the Mac also looked wrong, so certificate validation may have been failing. We later decided that this Mac should no longer be managed through Hexnode. After unassigning device management in Apple Business Manager, the Mac still appeared as Assigned in Hexnode until we manually synced devices. What is the correct sequence here?
Do we need to release the Mac from Apple Business Manager, or is unassigning device management enough before wiping it again?