You need to check for those device in DEP section in MDM and apply settings before you activate them. If they are not there, try adding them via Apple Business portal. If that fails, you can manually add them to DEP via Apple Configurator 2 app. Apple unfortunately doesn't always add warranty replacement devices to your DEP account.
... View more