Skip to main content

Microsoft - Entra Joined

Summary​

This role assist on detecting Entra joined machines using a specific PowerShell command. It includes the detection string, the comparator used, and the applicable operating systems. Understanding this detection mechanism is essential for managing Azure AD (Entra) environments effectively.

Dependencies​

Settings​

Role Name​

  • Microsoft - Entra Joined

Type​

  • PowerShell

Sub-Type​

  • Role

Detection String​

  • {%@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*')]"@%}

Comparator​

  • Equals

Result​

  • True

Applicable OS​

  • Windows

Changelog​

2026-10-27​

  • Followed the latest template format and adjusted the name.

2025-04-10​

  • Initial version of the document