I'm looking to create a dynamic group in Azure for unlicensed users.
I believe I have done so with this rule:
(user.assignedPlans -all (assignedPlan.capabilityStatus -ne "Enabled")) -and (user.userType -eq "Member")
but I don't fully understand assignedPlan.capabilityStatus other than knowing it can be Enabled/Deleted/Suspended ... so asking the question ... does anyone see any issues with above rule, or, is there a better way to dynamically create this group?
Thanks,
Aengus