Forum Discussion
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 Ressource Accounts are deleted a day before. These Auto Attendants and CallQueues are configured as Calling ID's
When I manually delete them after removing there also an error that call queue time was to low.
Is it possible to force the deletion.
Regards
JFM_12
2 Replies
- Prasad_Das-MSFT
Microsoft
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.
- JFM_12Iron 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