Forum Discussion
PatrickF11
Jul 11, 2019MCT
dynamic group based on assigned license
Hi, is it possible to create a group with users based on a assigned license? So i want to include all users into this specific group who has e.g. an E3 license assigned, but not an E5. It se...
terocky
Feb 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.
DomAnnicette
Mar 08, 2022Brass Contributor
I just found this (because I'm trying to achieve the same goal). It works fine.
https://365bythijs.be/2020/01/20/creating-a-dynamic-group-with-all-aad-premium-licensed-users/
You can use this as an example to retrieve your subscription ObjectID and then ServicePlanID.
https://365bythijs.be/2020/01/20/creating-a-dynamic-group-with-all-aad-premium-licensed-users/
You can use this as an example to retrieve your subscription ObjectID and then ServicePlanID.