TACO icon indicating copy to clipboard operation
TACO copied to clipboard

[Bug]: Get-CSCallQueue -Name returns multiple entries in case of partial match

Open tkele opened this issue 2 years ago • 4 comments

What happened?

  • A bug happened! Import all Call Queues Power Automate has an error because the

"Get-CSCallQueue -name" command in the Export-CallQueues function give back more than 1 result if the CQ names similar like "Helpdesk", "IT Helpdesk"

  • I fixed it in my version on the following way: in the foreach ($CQName in $CallQueues) loop Added: $cqs=@() and added all others command to one more foreach loop : foreach ($cq in $cqs) { }

What is the version of the App?

V0.1

What were the steps you followed?

  1. Start the Power Automate : Import all call queues

Area in which the issue occurred

Call Queues

Relevant log output

No response

tkele avatar Mar 23 '23 09:03 tkele

Thanks reporting this issue @tkele we are working on updating the whole import scripts because we found a limitation if you have a lot of call queues are in an environment. Due to the timeout of flows the task will fail. We will include this fix in the script

JohanVeldhuis avatar Mar 23 '23 15:03 JohanVeldhuis

@tkele so based on your report I think you might also be able to resolve it like this:

Get-CsCallQueue -Name $CQName.Name | Where-Object {$_.Name -eq $CQName.Name}

This will avoid adding additional loops.

JohanVeldhuis avatar Mar 24 '23 15:03 JohanVeldhuis

@tkele so based on your report I think you might also be able to resolve it like this:

Get-CsCallQueue -Name $CQName.Name | Where-Object {$_.Name -eq $CQName.Name}

This will avoid adding additional loops.

Thank you . I will change to this . I have a more complex issue with the AutoAttendant export and data structure. In case of AA the Call route can 12 different values ( Tone0 - Tone 9 , TonePound, ToneStar) and in the SPO list and the export script don't manage it . Do you plan to develope this part of the AA ? Thanks Tamás

tkele avatar Mar 27 '23 15:03 tkele

Hi @tkele,

No not yet and it is not on the short term road map. However feel free to add it as a feature request in this section: https://github.com/OfficeDev/TACO/discussions/categories/feature-requests

Regards, Johan

JohanVeldhuis avatar Mar 27 '23 18:03 JohanVeldhuis