Test your devices network connection for destinations and ports as listed in the Android Enterprise Network Requirements documentation
https://support.google.com/work/android/answer/10513641?hl=en
Validate network capability for a managed Android Enterprise device