Forum Discussion
Stuck with InTune
- 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!
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!
Thank you for that, but I can't disconnect from the work or school account, the user is remote and that will create a whole load of issues.
So the script will remove the already created MDM connection and remove any entries in the registry related to the old enrollments?
Thank you,
M