Forum Discussion
Deleting AutoAttendants and CallQueue
You cannot force-delete Auto Attendants or Call Queues in Microsoft Teams if they are still referenced by endpoints or other resources. The error
"Can't remove the Auto Attendant. Auto Attendant is still referenced by Endpoints Ids"
means there are still dependencies.
Azure/Teams Best Practices:
- Ensure all resource accounts, endpoints, and references (including Calling IDs and assigned numbers) are fully removed or unassigned before deletion.
- Wait for Azure AD/Teams backend to sync changes; sometimes it takes several hours for references to clear.
- For Call Queues, ensure all settings (like minimum queue time) meet requirements before deletion.
Recommended Steps:
- Double-check all resource accounts and endpoints are unassigned from the Auto Attendant/Call Queue.
- Remove any assigned phone numbers or Calling IDs.
- Wait for backend sync (up to 24 hours).
- Try deletion again via Teams Admin Center or PowerShell.
Hi Prasad_Das-MSFT
Thank you very much for your reply.
I have deleted the resource accounts a day before and they are still showing in the AA/CQ.
I need to delete about 40 AA and 80 CQ. Doing manually is needs time.
Is there another way to handle this?
Regards
JFM_12
- Prasad_Das-MSFTSep 09, 2025
Microsoft
JFM_12 , You're trying to delete an AA in TAC or via PS? What are the steps you're following?
Are you using this PS Command?
Remove-CsAutoAttendant (MicrosoftTeams) | Microsoft Learn
Remove-CsCallQueue (MicrosoftTeams) | Microsoft Learn- JFM_12Sep 09, 2025Iron Contributor
Hello Prasad_Das-MSFT
Yes I do. But there is no way to remove because of these dependencies.
One possibility to delete with multiple steps
1. Delete Caller ID from CallQueue
2. Adjust the exception in the CallQueue
3. Remove CallQueue
4. Remove AutoAttendant
Regards
JFM_12