Skip to main content

Microsoft - Azure AD Joined

Summary

This document describes how to detect machines that are Azure AD joined.

Settings

Detection StringComparatorResultApplicable OS
{%@powershell.exe -nologo -noprofile -command \"$ErrorActionPreference='SilentlyContinue';$DSRegStatus = dsregcmd.exe /status;@('False','True')[($DSRegStatus -like '*AzureAdJoined : YES*') -and ($DSRegStatus -like '*EnterpriseJoined : NO*') -and ($DSRegStatus -like '*DomainJoined : NO*')]\"}@%ContainsTrueWindows