How to Create Azure AD Joined Devices Azure AD Dynamic Group

Let’s try to create Azure AD Joined Devices Azure AD Dynamic group. This section of the post is going to be pretty easy because you need to follow the same steps that are explained above.

The only step you need to change is the value of the deviceTrustType attribute. You need to follow all the same steps explained above.

  • Create a new AAD dynamic group for Azure AD joined devices (just follow the steps mentioned in the above section of the post)
  • Add the dynamic rule as discussed before.

Check out the value of the property deviceTrustType that you want to look for in the Azure AD Joined scenario. The value that you want to look for is AzureAD for Hybrid AAD joined devices.

Azure AD Group Dynamic query for Azure AD joined devices -> (device.deviceTrustType -eq “AzureAD”)

Create AAD Dynamic Groups based on Domain Join Type Hybrid Azure AD and Azure AD 10
Create AAD Dynamic Groups based on Domain Join Type Hybrid Azure AD and Azure AD 10

The validation rules are the next step you need to perform to confirm that the dynamic query for Azure AD joined devices is correct!

  • CPC-anoopb-L-DA -> Not in Azure AD joined the group because this device is Hybrid Azure AD joined.
  • CPC-vidyam-2-CC -> In Azure AD joined the group because this device is Azure AD joined.

You need to click on the Save and the Create buttons to complete the Azure AD dynamic device group creation process.

Create AAD Dynamic Groups based on Domain Join Type Hybrid Azure AD and Azure AD 11
Create AAD Dynamic Groups based on Domain Join Type Hybrid Azure AD and Azure AD

Ref: Create AAD Dynamic Groups Based On Domain Join Type Hybrid Azure AD And Azure AD HTMD Blog (anoopcnair.com)