This usually happens when the iPad is still assigned to Hexnode as its MDM server in Apple Business Manager through Automated Device Enrollment.
Removing the device from the Hexnode portal does not automatically remove the Apple Business Manager assignment. If the device remains assigned to the Hexnode MDM server in Apple Business Manager, it will continue to contact Apple during setup and receive the Hexnode enrollment configuration after every wipe.
To stop the iPad from enrolling into Hexnode during setup:
- Sign in to Apple Business Manager.
- Go to Devices.
- Search for the iPad, preferably using its serial number.
- Select the device.
- Choose the option to unassign device management or remove the assigned MDM server.
- Confirm the unassignment.
After the device is unassigned from the Hexnode MDM server in Apple Business Manager, factory reset the iPad again. It should then proceed through setup as a regular unmanaged iPad without showing the Hexnode configuration profile.