Fix Teams Auto Attendant Routes Calls Wrong after a Network Firewall Change
🔍 WiseChecker

Fix Teams Auto Attendant Routes Calls Wrong after a Network Firewall Change

Your Teams auto attendant starts routing calls to the wrong department or queue right after your network team updates a firewall rule. This usually happens because the auto attendant cannot reach the Teams backend to fetch the latest call routing configuration, so it falls back to a cached or default destination. In this article, you will learn why firewall changes break auto attendant routing and how to fix it by verifying network paths, updating firewall rules, and testing call flows.

Key Takeaways: Fixing Auto Attendant Routing After Firewall Changes

  • Teams admin center > Voice > Auto attendants: Check the current resource account and call flow settings to confirm the intended destination.
  • Microsoft 365 URLs and IP ranges: Ensure your firewall allows all required Teams endpoints, including media and signaling domains.
  • Test call via the auto attendant: Dial the attendant number and verify which destination receives the call after you update the firewall.

ADVERTISEMENT

Why a Firewall Change Breaks Auto Attendant Call Routing

Teams auto attendants are cloud services hosted in Microsoft 365. When a caller dials your auto attendant number, Teams routes the call based on the configuration stored in the cloud. The auto attendant does not store routing rules locally on your network. It relies on real-time communication with Microsoft Teams infrastructure to determine which call queue, user, or external number should receive the call.

A firewall change can block the signaling or media traffic between your network and Microsoft Teams. When the auto attendant cannot reach the Teams backend, it may fail to load the latest routing table. In many cases, the system falls back to a default destination, such as the operator, or it plays an error message. Sometimes the call routes to an old or incorrect destination because the cached configuration is stale.

The most common culprit is a new firewall rule that denies outbound traffic to specific Microsoft 365 IP addresses or domains. Another possibility is that the firewall now applies deep packet inspection that interferes with the TLS handshake required for Teams signaling. You must verify that your network allows the exact endpoints listed in the Microsoft 365 URLs and IP address ranges.

How Teams Auto Attendant Routing Works

An auto attendant uses a resource account that is licensed for the Microsoft Teams Phone Resource Account. This account is linked to a service number. When a call arrives, the auto attendant evaluates its call flow, which includes menu options, time-based routing, and call queues. The call flow is defined in the Teams admin center and stored in Microsoft 365.

For the auto attendant to route correctly, the following must be true:

  • The resource account is assigned a valid Microsoft Teams Phone Resource Account license.
  • The auto attendant is published and enabled.
  • The network can reach the Teams signaling endpoints on port 443 and media endpoints on UDP 3478 through 3481.
  • The firewall does not block or alter the TLS certificates used by Teams.

Steps to Diagnose and Fix Auto Attendant Routing After a Firewall Change

Follow these steps in order to identify the firewall rule that broke routing and restore correct call flow.

  1. Verify the current auto attendant configuration
    Go to the Teams admin center > Voice > Auto attendants. Select your auto attendant and review the call flow. Confirm the destination for each menu option and the default destination. Write down the expected routing for a test call.
  2. Check the resource account license
    In the Teams admin center > Voice > Resource accounts, select the account linked to your auto attendant. Ensure it has the Microsoft Teams Phone Resource Account license assigned. If the license is missing or expired, routing may fail regardless of the firewall.
  3. Review the firewall changes
    Ask your network team for the exact changes made to the firewall. Look for any new deny rules, changed NAT policies, or enabled deep packet inspection. Compare the changes against the Microsoft 365 URLs and IP ranges list.
  4. Test connectivity to Teams endpoints
    From a computer on the affected network, open PowerShell and run the following command to test connectivity to the required domains:
    Test-NetConnection teams.microsoft.com -Port 443
    Repeat for login.microsoftonline.com and media.contoso.com (replace with your tenant’s media domain). If any test fails, the firewall is blocking that endpoint.
  5. Update the firewall rules
    Add or adjust rules to allow outbound HTTPS on port 443 to all Microsoft 365 domains listed in the official URLs and IP ranges. Also allow UDP 3478 through 3481 for media traffic. If your firewall uses IP-based filtering, download the latest IP range list from the Microsoft documentation and update the rules.
  6. Clear the cached configuration
    After updating the firewall, force a refresh of the auto attendant configuration. You can do this by disabling and re-enabling the auto attendant in the Teams admin center. Go to Voice > Auto attendants, select your attendant, and toggle the status to Off, then back to On.
  7. Test the call routing
    Dial the auto attendant number from an external phone. Follow the menu and confirm that the call reaches the correct destination. Repeat the test for each menu option and during different hours if you use time-based routing.

ADVERTISEMENT

If Teams Auto Attendant Still Routes Calls Wrong

If the steps above do not fix the routing, the problem may be more complex than a simple firewall rule. The following issues can also cause incorrect routing after a network change.

Auto Attendant Falls Back to the Default Destination

When the auto attendant cannot reach Teams, it might route all calls to the default destination, such as the operator. Check the default destination in the auto attendant settings. If it is set to a specific user or queue, verify that user or queue is still valid and licensed. If the default destination is an external number, confirm that the number is allowed by your firewall’s outbound calling rules.

Call Queue Members Are Not Reachable

If your auto attendant routes to a call queue, the queue’s agents might be unreachable due to network changes. Check the call queue settings in the Teams admin center > Voice > Call queues. Ensure the agents are online and their devices are connected. Also verify that the call queue’s resource account is licensed and the queue is published.

Media Traffic Is Blocked by the Firewall

Even if signaling works, media traffic might be blocked. Use the Teams client to make a test call to a user on the same network. If the call drops or has no audio, the firewall is blocking UDP ports 3478 through 3481. Open these ports for both inbound and outbound traffic to the Microsoft Teams media endpoints.

DNS Resolution Is Broken

A firewall change might also affect DNS queries. If your network cannot resolve the Microsoft 365 domains, the auto attendant cannot connect. Test DNS resolution with Resolve-DnsName teams.microsoft.com in PowerShell. If it fails, check your DNS server settings and ensure that the firewall does not block DNS traffic on port 53.

Firewall Configuration vs Auto Attendant Routing: Key Differences

Item Firewall Configuration Auto Attendant Routing
Purpose Controls network traffic in and out of your organization Determines where incoming calls are directed based on menu choices
Location On-premises hardware or cloud-based security service Cloud service in Microsoft 365
Configuration method Managed by network administrators Managed in Teams admin center
Impact of misconfiguration Blocks or allows all traffic, including Teams signaling Routes calls to the wrong destination or drops calls
Testing method Use connectivity tests like Test-NetConnection Make test calls through the auto attendant

ADVERTISEMENT

Conclusion

You can now diagnose and fix auto attendant routing issues caused by firewall changes. Start by verifying the auto attendant configuration and resource account license, then test connectivity to Microsoft 365 endpoints. Update the firewall rules to allow the required domains and ports, and clear the cached configuration by toggling the auto attendant status.

After making changes, always perform a test call to confirm routing works for every menu option. Use the Teams admin center to check the call flow and default destination if problems persist. For advanced monitoring, enable call quality dashboard to track media path issues that might indicate residual firewall problems.

ADVERTISEMENT