Hello @kdh,
Thank you for posting your question in the Microsoft Q&A forum.
Below is the officially documented behavior we can confirm publicly, plus guidance on what to do with the 20.x / 48.x addresses you’re seeing:
- Media codecs
- I have found on other blog that a user has shared Microsoft’s latest AI-powered audio codec for real-time communications: Satin: Microsoft’s latest AI-powered audio codec for real-time communications..
- Note: Since the information above is not from an official Microsoft article, please follow this reference at your own risk.
- For video/media real-time calls and meetings with Microsoft Teams, kindly visit: Real-time Media Call & Meeting for Bots - Teams | Microsoft Learn.
- Protocols, ports, and “fallback” behavior
- Teams' media connectivity uses standard IETF ICE procedures, If a direct path isn’t possible due to NAT/firewall, Teams can use Microsoft 365 Transport Relays (TURN-like behavior) to relay media.
- Microsoft’s Teams call flows documentation provides the clearest official description of how Teams selects media paths and what protocols/ports are required: Microsoft Teams call flows - Microsoft Teams | Microsoft Learn
- Also, you can find official Microsoft 365 endpoint feed for ID 11 (Microsoft Teams / Optimize) lists the Teams media IP ranges and UDP ports 3478–3481 via this link: endpoints.office.com/endpoints/worldwide?ClientRequestId=dfa5bc65-b550-45e2-9b06-14947c2097ec
- For your question about whitelist “all Azure”
Microsoft does not recommend whitelisting the entire Azure public IP space for Teams. Instead, Microsoft’s model is:
- Allow the published Microsoft 365 endpoints (and keep them updated).
- Use the endpoint web service (rather than manual static lists) because it is updated on an ongoing cadence.
If you need more advanced or highly technical guidance, I recommend posting your question on Stack Overflow. The community there includes many experienced developers who can provide deeper insights and coding‑specific support.
Note: Please understand that as a forum moderator, my primary goal is to provide helpful guidance and support through general troubleshooting steps. While I don’t have access to internal systems or test devices required to resolve backend/account issues, I truly appreciate your understanding of these limitations.
Thank you for choosing Microsoft, and I am looking forward to your response. If anything is unclear, please don’t hesitate to reach out to me.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have any extra questions about this answer, please click "Comment."
If you want to receive the related email notification for this thread, please follow the steps in our documentation to enable e-mail notifications.