I have created a configuration profile in intune. This profile logs all users into Onedrive automaticaly when they sign into a windows 10 device. My test user logs in to 2 different devices. On one device, the profile works fine but not on the other one. The profile deployment status is pending. If I look under configuration profiles --> device status, I see some devices, where the deployment status is "Pending". I have noticed that all these devices have no "User Principal Name". This column is blank for alle the pending devices. See the attached image.
I have tried to manullay sync the computer and restart several times. That did not help.
What could be the reason for the missing "user principal name" and delpoyment status not chaning from "Pending".