Identify non hybrid joined devices

Richard Sincennes 1 Reputation point
2021-11-05T18:42:35.637+00:00

Hello,

We need to identify the devices that have not been hybrid joined in our organization. I know on a given computer you can run the command DSREGCMD /Status and look for AzureADjoined: No & DomainJoined: Yes.

I was wondering if there was a way to get all the devices that would have AzureADjoined: No from Azure AD ?

Is there a Reg Key or Event Viewer entry that can be queried on the device that would show the AzureADJoined fail ?

Thanks,
Richard

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,563 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 34,121 Reputation points Microsoft Employee
    2021-11-08T22:48:04.44+00:00

    There isn't anything out-of-the-box for this that I'm aware of, but as you mentioned, you can run dsregcmd /status and then return a boolean that shows if the device is compliant (hybrid joined) or non-compliant (non Hybrid Joined). There is an example of this in this related Reddit thread, Collection for Hybrid Joined Devices.

    You could also probably create some custom script to filter out the non-domain joined devices. There is an example of the opposite query here.

    0 comments No comments