Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docs/identity/users/groups-dynamic-membership.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,17 @@ The following expression selects all users who have any service plan that's asso
```
user.assignedPlans -any (assignedPlan.service -eq "SCO" -and assignedPlan.capabilityStatus -eq "Enabled")
```

##### Example 3

The following expression selects all users who do not a service plan associated with Intune, or have that service plan disabled. This covers both situations where no SCO plan is assigned, or the SCO plan is disabled.

```
-not (
user.assignedPlans -any (assignedPlan.service -eq "SCO" -and assignedPlan.capabilityStatus -eq "Enabled")
)
```
##### Example 4

The following expression selects all users who have no assigned service plan:

```
Expand Down