question

AshleyMaple-8380 avatar image
0 Votes"
AshleyMaple-8380 asked KartheekRaparthy-6860 answered

Get-CsCallQueue Statistics now returns 0

The Get-CsCallQueue has a property named "Statistics" that returns a "Current queue size" value. As of a few weeks ago this value is now only returning 0 even when this queue is not empty.

echo (Get-CsCallQueue -name "NodeOne Support").Statistics.StatValue
Attached is a full output showing the incorrect line:
Statistics : Current queue size = 0

Is this a problem that can be fixed, or is there a new way to get this data?

Tested using both MicrosoftTeams Connector 2.3.1 & 2.3.2-preview
Tested using both Powershell 5.1 and Powershell 7
Tested using Credential Login (Since Token Login is also broken for Get-CsCallQueue)

office-teams-windows-itprooffice-teams-app-dev
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@AshleyMaple-8380,

According to official document, Get-CsCallQueue cmdlet only returns the identified Call Queues. It doesn’t introduce the parameter Statistics.

The following picture shows the CQs in my environment:
108804-image.png

I also try to run echo (Get-CsCallQueue -name "CQ01").Statistics.StatValue. But it returns nothing.
108823-image.png

As we are mainly responsible for general question of Microsoft Teams, your question related script is not in our scope. I will add office-teams-app-dev tag to acquire more efficient support. Thanks for your understanding.


0 Votes 0 ·
image.png (3.7 KiB)
image.png (4.5 KiB)

Please see line 43 of the attached txt, This value used to represent waiting calls in queue
"Statistics : Current queue size = 0"

108787-get-cscallqueue.txt

0 Votes 0 ·

Hi @AshleyMaple-8380, Thanks for reaching out to us. Let us investigate at our end.

0 Votes 0 ·

1 Answer

KartheekRaparthy-6860 avatar image
0 Votes"
KartheekRaparthy-6860 answered

Please check with any of one id. example gets the Call Queue with the identity 5e3a575e-1faa-49ff-83c2-5cf1c36c0e01. If no Call Queue exists with the identity 5e3a575e-1faa-49ff-83c2-5cf1c36c0e01, then this example generates an error.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.