DEP profiles are installed at the time of activation, as mentioned you would need to reset the device to set it up via DEP.
MacOS devices you can run a CLI command that will poll the DEP server for this info but I understand Apple is phasing this method out.
If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.