Share via

Intune Dynamic group issue

julien deroche 131 Reputation points
2022-09-24T08:29:10.187+00:00

Hi everyone,

I have this rule

(device.deviceOSType -contains "AndroidEnterprise") or (device.deviceOSType -eq "AndroidForWork") and (device.deviceCategory -eq "13")

My device is AndroidEnterprise but doesn't belong to the category "13". When i validate the rule it says that it belongs to the group and it shouldn't.

Is there something i missed?

Thank for your help

Microsoft Security | Intune | Configuration
0 comments No comments

Answer accepted by question author

Dillon Silzer 60,931 Reputation points
2022-09-24T20:48:10.533+00:00

Hi @julien deroche

Try the following:

((device.deviceOSType -contains "AndroidEnterprise") or (device.deviceOSType -eq "AndroidForWork")) and (device.deviceCategory -eq "13")

The double parenthesis makes it so the two statements are OR to one-another AND Category 13.

--------------------------------

If this is helpful please accept answer.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.