Forum Discussion
Get all Auto Attendants or Call Queues
@JFM_12 - Thanks for bringing this issue to our attention.
Yes, there is a workaround for the 100-row limit in Get-CsAutoAttendant and Get-CsCallQueue since the -Limit All parameter is no longer available.
You can use the -First and -Skip parameters to page through results and retrieve all items:
# Get the first 100
$allAAs = Get-CsAutoAttendant -First 100# Continue fetching in batches of 100
$skip = 100
do {
$batch = Get-CsAutoAttendant -First 100 -Skip $skip
if ($batch.Count -gt 0) {
$allAAs += $batch
$skip += 100
}
} while ($batch.Count -gt 0)# $allAAs now contains all auto attendants
Repeat the same logic for Get-CsCallQueue.
Thanks,
Nivedipa
---------------------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
Hi Nivedipa-MSFT​
Thank you
Regards
JFM_12
- Nivedipa-MSFTAug 14, 2025
Microsoft
@JFM_12 - If you found the above response helpful, we would appreciate your feedback through the Microsoft Teams Developer Community Response Feedback link? Your input helps us improve our support.