The below should work:
https://graph.microsoft.com/beta/users?$filter=assignedLicenses/any(x:x/skuId+eq+18181a46-0d4e-45cd-891e-60aabd171b4e) or assignedLicenses/any(x:x/skuId+eq+06ebc4ee-1bb5-47dd-8120-11324bc54e06)&$count=true
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to run OR condition to find users with either of license assigned but its not working. Can someone please help to correct it ?
https://graph.microsoft.com/v1.0/users?$filter=assignedLicenses/any(x:x/skuId eq '18181a46-0d4e-45cd-891e-60aabd171b4e' or x/skuId eq '06ebc4ee-1bb5-47dd-8120-11324bc54e06')
The below should work:
https://graph.microsoft.com/beta/users?$filter=assignedLicenses/any(x:x/skuId+eq+18181a46-0d4e-45cd-891e-60aabd171b4e) or assignedLicenses/any(x:x/skuId+eq+06ebc4ee-1bb5-47dd-8120-11324bc54e06)&$count=true