SOLVED

I am trying to create a dynamic membership rule for users with a Visio Plan 2 for faculty License

%3CLINGO-SUB%20id%3D%22lingo-sub-1631593%22%20slang%3D%22en-US%22%3EI%20am%20trying%20to%20create%20a%20dynamic%20membership%20rule%20for%20users%20with%20a%20Visio%20Plan%202%20for%20faculty%20License%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1631593%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20is%20my%20query%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Euser.assignedPlans%20-any%20(assignedPlan.service%20-eq%20%22663a804f-1c30-4ff0-9915-9db84f0d1cea%22%20-and%20assignedPlan.capabilityStatus%20-eq%20%22Enabled%22)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20tried%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Euser.assignedPlans%20-any%20(assignedPlan.service%20-eq%20%22VISIOCLIENT_FACULTY%22%20-and%20assignedPlan.capabilityStatus%20-eq%20%22Enabled%22)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBoth%20don't%20seem%20to%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20ideas%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDJITS.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1631593%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1631614%22%20slang%3D%22en-US%22%3ERe%3A%20I%20am%20trying%20to%20create%20a%20dynamic%20membership%20rule%20for%20users%20with%20a%20Visio%20Plan%202%20for%20faculty%20Licens%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1631614%22%20slang%3D%22en-US%22%3EI%20wrote%20a%20blog%20on%20this%20%3D%26gt%3B%20%3CA%20href%3D%22https%3A%2F%2F365bythijs.be%2F2020%2F01%2F20%2Fcreating-a-dynamic-group-with-all-aad-premium-licensed-users%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2F365bythijs.be%2F2020%2F01%2F20%2Fcreating-a-dynamic-group-with-all-aad-premium-licensed-users%2F%3C%2FA%3E%3CBR%20%2F%3EIf%20this%20doesn't%20help%2C%20let%20me%20know!%3C%2FLINGO-BODY%3E
New Contributor

Hi,

 

This is my query:

 

user.assignedPlans -any (assignedPlan.service -eq "663a804f-1c30-4ff0-9915-9db84f0d1cea" -and assignedPlan.capabilityStatus -eq "Enabled")

 

Also tried

 

user.assignedPlans -any (assignedPlan.service -eq "VISIOCLIENT_FACULTY" -and assignedPlan.capabilityStatus -eq "Enabled")

 

Both don't seem to work.

 

Any ideas?

 

DJITS.

2 Replies
best response confirmed by Diederik Janson (New Contributor)
Solution

@Thijs Lecomte 

 

Hi Thijs,

 

Thank you so much. The PlanId part added fixed my issue.

 

DJITS.