Powershell Microsoft Teams
2 TopicsGet-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-CsOnlineUser -Filter {EnterpriseVoiceEnabled -eq $true} Example 2: Getting Enabled Users: Get-CsOnlineUser -Filter {Enabled -eq $true} The Response I get is always: Get-CsOnlineUser: Cannot bind parameter 'Filter' to the target. Exception setting "Filter": "Unable to cast object of type 'System.Boolean' to type 'System.String'." Any ideas what could be happening here?7.3KViews1like9Comments