I agree, you definitely need to enroll it in Apple Business or Apple School Manager.
It will store and sync some attributes, such as the activation state, serial numbers, some metadata (device gen/iOS etc.) and it will be re-enrolled upon reset.
We utilize ABM in addition to our MDM, which is Intune. But that's actually just the tool. The DEP is ABM/ASM