Entra dynamic membership rules and the memberOf operator
Microsoft's edit ·
Microsoft's commit message in MicrosoftDocs/entra-docs · commit 27e72a6 · +10 −0 lines · also on GitHub
⋯ 345 unchanged lines
346346
347347
##### Example 3
348348
349
+The following expression selects all users who have no enabled service plan that's associated with the Intune service (identified by the service name `SCO`):
350
+
351
+```
352
+user.assignedPlans -all (assignedPlan.service -ne "SCO" -or assignedPlan.capabilityStatus -ne "Enabled")
353
+```
354
+
355
+This rule also includes users who have no assigned service plans. If you want to exclude users with no service plans, combine this rule with another condition.
356
+
357
+##### Example 4
358
+
349359
The following expression selects all users who have no assigned service plan:
350360
351361
```
⋯ 173 unchanged lines
Microsoft's Markdown source from MicrosoftDocs/entra-docs, © Microsoft Corporation, under MIT. Changed lines with up to 3 unchanged lines around each; ChangeIntel kept this copy today 06:21 UTC. The commit date is when the source changed, which can be hours or days before Learn published it.