Email profile stays in pending state in DEP devices

macOS devices- dep enrolled device - configured an email policy and it gets stuck on pending status. The rest of the policies and actions like lock device and scan device are executed successfully.

While enrollment using DEP, if there is account creation config present in Dep configuration profile , At the time of enrollment we don't receive the user token and user channel is not present.

The keys UserID and EnrollmentUserID in TokenUpdate is not present.

As a result we can't successfully push the email policy. Is the inference correct or is there anything else we are missing out.

Email profile stays in pending state in DEP devices
 
 
Q