Microsoft 365: How to check if a device is joined to Azure AD(I)!

Quick time that I have found quite useful to check if a device is already joined to a domain, something is wrong or even unjoin the device from Azure AD. To check if a device is joined to Azure AD, we can make use of the DsRegCmd tool in the following way:

DsRegCmd /status

To unjoin a device from Azure AD, we have to make use of DsRegCmd in the following way:

dsregcmd /debug /leave

The output we should get from the first command is the following:

image

References:

Deja una respuesta

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Salir /  Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Salir /  Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Salir /  Cambiar )

Conectando a %s