Azure Active Directory (Azure AD) - dsregcmd
- AzureAdJoined: Set the state to YES if the device is joined to Azure AD. Otherwise, set the state to NO.
-
EnterpriseJoined: Set the state to YES if the device is joined to an on-premises data replication service (DRS).
A device can't be both EnterpriseJoined and AzureAdJoined. - DomainJoined: Set the state to YES if the device is joined to a domain (Active Directory).
Error 70003: Your organisation has deleted this device
Fix: You just have to reconnect your Microsoft account.
You might have to do a restart and sign in again to get fully connected to Microsoft again.
GUI
Search "access work or school" > YOUR_ACCOUNT > "Disconnect" BTN
CLI
dsregcmd /leave
dsregcmd /status