Forum Discussion
Dual State HAADJ and AADJ Devices - Autopilot
- Feb 07, 2024
Dan Padgett try this script, it will clean up the dual state by deleting the WPJ (Entra Registered) record:
https://download.microsoft.com/download/8/e/f/8ef13ae0-6aa8-48a2-8697-5b1711134730/WPJCleanUp.zip
The key you are referring to "BlockAADWorkplaceJoin" is to block future users from selecting this option below and joining their work or school account by creating an Entra Registered record (dual state), it doesn't delete the records that have already been created, it just blocks future attempts. The script should do the trick!
Dan Padgett try this script, it will clean up the dual state by deleting the WPJ (Entra Registered) record:
https://download.microsoft.com/download/8/e/f/8ef13ae0-6aa8-48a2-8697-5b1711134730/WPJCleanUp.zip
The key you are referring to "BlockAADWorkplaceJoin" is to block future users from selecting this option below and joining their work or school account by creating an Entra Registered record (dual state), it doesn't delete the records that have already been created, it just blocks future attempts. The script should do the trick!