Question on scenario:
Have Apple macbook pro which is under DEP etc.,
2. If you choose to skip wifi during initial setup and just continue setup offline, then eventually once logged into desktop and connect to wifi , it never goes in and checks DEP that it needs to be enrolled.
If we run manual command:
sudo profiles renew -type enrollment
Popsup with enrollment popup but user can still cancel it.
So question, how do we force enrollment on DEP devices that were setup on initial setup without wifi?
@esv I've observed mixed results when removing .AppleSetupDone and running through the Apple Setup Assistant after the fact. However, network connectivity is a strict requirement for proper DEP enrollment during the initial run of the Setup Assistant "out of the box".
You could also always perform a manual enrollment, however, you then sacrifice the benefits and features specific to a DEP enrollment.
This has always had this behavior. If you select "This devices doesn't connect to the Internet," it bypasses DEP. This is because some macOS devices are air-gapped due to security reasons and may never actually talk to Apple servers over the Internet. So, you cannot force it, and it is for good reasons perhaps.
I personally also skip DEP for my Zoom Room Mac Minis. They cannot get the default config (it breaks auto login), so I must skip DEP and do OTA enrollment and assign it to the service account I had setup for them.