Forum Discussion
dynamic group based on assigned license
Hi Steven-H
Thanks for your reply, this is nearly the same of what i'm using at the moment.
(Except that u use the id and not the name.)
Edit: I didn't think about the approach via the graph, thank you 🙂
I was wondering if you have found a solution to creating a dynamic group based on license. I am looking to the do the same.
Thank you,
Steve
- D6BoostDec 02, 2021Copper Contributor
This expression appears to be working for me
(user.assignedPlans -all (assignedPlan.service -ne "Unassigned" -and assignedPlan.capabilityStatus -eq "Enabled"))
To use the expression builder :
Set the Property to: assignedPlans
Set the Operator to: all
Set the Value to: (assignedPlan.service -ne "Unassigned" -and assignedPlan.capabilityStatus -eq "Enabled")
- PatrickF11Dec 03, 2021Steel Contributor
Am i missing something? With this you're just querying users who are licensede in any way, isn't it?
The initial quesiton was: How to group EXACT license like "M365 E3", not querying on any SKU which could be part of some other license as well.
shathaway unfortunatelly not, but i (personally) don't need this anymore. 😄
(nevertheless the question is still open.)
- terockyFeb 08, 2022Copper Contributor
Hi PatrickF11, Did you find a solution yet? I am trying to do same as i have F3, E1 and E3 license users now.
- DegreeSixDec 04, 2021Copper Contributor
Scratch this - It looked like it worked to get my licensed users assigned to the group during testing.
In production, this failed horribly.
It turns out that groups, contact, and other items were added to the group because they too do not equal "Unlicensed".
So my dynamic group ended up with 168 members vs. the 35 I was expecting.
I'll post again if I figure this out.
- jbrahms-esJan 26, 2022Copper Contributor
DegreeSix please share if you figure it out.
Right now we're in Intune beta testing with both MS365 E3 and E5 licenses, and EMS E3 and E5s. I want to create a group (or a filter) that will pull users who have that license and change them up to Windows Enterprise.