As far as I know, check if the Auto MDM Enrollment with Microsoft Entra
Token Group Policy Object (GPO) is applied to the devices. If so, you
might get a warning message that says “Windows failed to apply the MDM
Policy settings” when you run the gpu...