Forum Discussion
Unlink a users workplace join account while device is also Entra ID joined
- ftroutMar 04, 2024Brass ContributorThanks, but unfortunately this doesn't help me. These devices were AAD joined using Autopilot and then registered to another org tenant. Basically, users signed into Teams with another org creds and were prompted to register the device (a design decision I still scratch my head over). Since these are in another orgs tenant, we do not have the capability to clean up the devices, and dsregcmd /leave just completely breaks everything.
- IntuneNinjaFeb 24, 2025Copper Contributor
To clean up: As per my research, there is no way to just remove workplace join remotely. Manual removal of the account is what we use.
To restrict users to do it again: you can create a custom policy to edit remotely the registry as group policy:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WorkplaceJoin, "BlockAADWorkplaceJoin"=dword:00000001
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WorkplaceJoin,"autoWorkplaceJoin"=dword:0
https://learn.microsoft.com/en-us/entra/identity/devices/faq#how-can-i-block-users-from-adding-more-work-accounts--microsoft-entra-registered--on-my-corporate-windows-10-11-devices- KaliNMar 09, 2025Copper Contributor
The BlockAADWorkplaceJoin is more than enough.
No need for autoWorplaceJoin, you're making double confirmation for no particualr reason.