Hello,
I've tried this on several laptops, some are enrolled in a local AD, some are a fresh windows installation.
They are all running Windows 10 Pro.
https://docs.microsoft.com/en-us/windows/win32/mdmreg/mdm-registration-constants
This microsoft page describes this error as:
MENROLL_E_DEVICE_MESSAGE_FORMAT_ERROR
0x80180001
Invalid Schema , Message Format Error from server.
Anyone managed to fix it?