Forum Discussion
JFM_12
Sep 05, 2025Iron Contributor
Deleting AutoAttendants and CallQueue
Hello There are commands to delete AutoAttendants and CallQueue. But I get allways an error "Can't remove the Auto Attendant. Auto Attendant is still referenced by Endpoints Ids" Even if all Re...
Prasad_Das-MSFT
Microsoft
Sep 05, 2025You 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.
- JFM_12Sep 05, 2025Iron Contributor
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?
RegardsJFM_12