Hey guys,
i'm using the following syntax to create a AAD dynamic group which is working fine:
(user.assignedplans -any (assignedplan.serviceplanid -eq "6c6042f5-6f01-4d67-b8c1-eb99d36eed3e" -and assignedplan.capabilitystatus -eq "enabled")) -and (user.country -in ["Mexico","Brazil","Canada","Argentina","Chile","Costa Rica","United States (the)"])
Now I would like to group the users within that group by starting letter of their last name. So I would like to add to something like that ....
(user.surname -startswith "a") or (user.surname -startswith "b") or (user.surname -startswith "c")
... and so on.
Doing it this way will extend the query and it becomes unreadable in my eyes.
Is there a way to define a scope of starting letters like "A" to "C" which includes the letter A,B,C?
Greetz,
Chris