Setting up and managing device configurations using Intune
So thank you for your answer and Sorry for my late response. Well The script above works fully fine with the most devices if you delete the delete the intune registry keys. But only one device actually is saying to me, it could not find the registry key. If i restore the registry key it is missing an another key. So only issues and issues.
So my idea is now to rollout the device complet new because there is no other way to join the device to intune after rollout in Entra.
Or das you @Anonymous as a Microsoft Employee have an other idea if you only have issues in rollout again because of missing registry keys? So the rollout is not possible anymore?
Well it´s so funny because at all other devices i delete the same registry keys without issues.