Forum Discussion
ckarawani-dev
Aug 01, 2021Copper Contributor
Get-CsOnlineUser - Cannot filter with boolean attributes due to casting errors
Since Friday July 20th 2021, Every time I run a Get-CsOnlineUser with a Filter on a boolean attribute, I am getting an error. Example 1: Getting users with Voice Enabled: Get-CsOnli...
jeffkelly
Aug 11, 2021Copper Contributor
I had the issue for just over a week, I have run my original scripts without the workaround below and the issue appears to be resolved I do NOT receive the error now using filters as below
get-csonlineuser -filter {(Enterprisevoiceenabled -eq $true) -and (enabled -eq $true)}
ckarawani-dev
Aug 11, 2021Copper Contributor
jeffkelly wow! You're right! It is indeed fixed. I'm really not sure what we're supposed to do in the future when these types of issues occur. Opening a service request via the Microsoft 365 admin center (admin.microsoft.com) didn't really help much as they were not really aware of the problem and could not provide any explanation or support around the Microsoft Teams cmdlet.