How to remove MDM app from android device

How to remove MDM app from android device

Hi everyone,

Our On-Premise MDM server was affected by an issue of the OS and all our data was lost, we have in there like 200 android devices enrolled at that moment and now we can't remove to start all over the process again for enrollment, we configure the MDM server again so we can do a fresh start but we can't enroll the existing devices to the new MDM server.

Any ideas on how to remove the MDM android app so we can configure it again?

Thanks