You must assign a policy to every Windows device in the tenant that holds a Microsoft Entra registered state, and to no Microsoft Entra joined or Microsoft Entra hybrid joined device. Membership has to be maintained by the directory rather than by an administrator editing the group. Which dynamic device membership rule meets that requirement?
device.deviceTrustType values: AzureAd, ServerAd, Workplace- A(device.deviceTrustType -eq "AzureAd") and (device.deviceOSType -eq "Windows")
- B(device.deviceTrustType -eq "Workplace") and (device.deviceOSType -eq "Windows") Correct
- C(device.deviceTrustType -eq "ServerAd") and (device.deviceOSType -eq "Windows")
- D(device.deviceOwnership -eq "Personal") and (device.deviceOSType -eq "Windows")
Why A is wrong: Tempting because the value reads like a general Microsoft Entra device, but AzureAd is the trust type recorded for a Microsoft Entra joined device, so this rule collects exactly the devices the requirement excludes.
Why B is correct: Correct because Workplace is the trust type recorded against a Microsoft Entra registered device, so combining it with the Windows operating system type resolves to registered Windows devices and to nothing else.
Why C is wrong: Wrong because ServerAd is the trust type recorded for a Microsoft Entra hybrid joined device, which is a domain joined machine given a tenant identity, and those are also excluded by the requirement.
Why D is wrong: Tempting because registered devices are commonly personally owned, but ownership is a separate attribute from trust type, so this rule would miss a registered corporate device and would collect a personally owned device that reached the tenant by another route.