Forum Discussion
AlwaysAnIssue951
Aug 04, 2025Copper Contributor
Stuck with InTune
Hi, need some help from those that know more than me, I have two devices that were previously enrolled and managed through InTune. We have a hybrid environment. Unfortuantely they were accidentally d...
- Aug 05, 2025
Hy,
1. if you ran the script correctly any old enrollments should be deleted. Disconnect from “Work or School” and then run a Delta Sync from your Entra Connect Server..
2. No no profile will be lost but based on your tenant Conditional Access Policy’s it could be a problem with the login for the user.
dsregcmd should help you more in hybrid in order for you to track the issue.Try also dsregcmd /debug.
Good luck!
Bogdan_Guinea
Aug 05, 2025Iron Contributor
Hy,
if dsregcmd /leave does not work for you, maybe you could try this Script from my GitHub:
https://github.com/FlyOnCloud/ms-entra-intune-scripts/blob/main/Win_Clean_EnrollmentID.ps1
Good luck!