When does Microsoft Teams use TCP?

Historical_Swimming 21 Reputation points
2022-06-20T13:46:25.23+00:00

When does Microsoft Teams use TCP?
Is it after it detects some ports blocked ?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,105 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yuki Sun-MSFT 40,866 Reputation points
    2022-06-21T03:34:04.027+00:00

    Hi @Historical_Swimming ,

    I tried searching a lot but it seems that currently there's no official document available explicitly stating this. Below are some potentially relevant information I found during my research for reference:

    • For Teams to function correctly, you must open TCP ports 80 and 443 from the clients to the internet, and UDP ports 3478 through 3481 from the clients to the internet. The TCP ports are used to connect to web-based content such as SharePoint Online, Exchange Online, and the Teams Chat services. Plug-ins and connectors also connect over these TCP ports. The four UDP ports are used for media such as audio and video, to ensure they flow correctly. (Evaluate my environment)
    • For all Microsoft 365 and Office 365 workloads, the recommended connection method to Teams services is bypassing the forward proxy where possible. When a proxy server sits between a client and the Office 365 data centers, media might be forced over TCP instead of UDP, which would impact media quality. (Microsoft 365 and Office 365 URLs and IP address ranges)

    Besides, below is an additional article about this topic and hopefully you can find it be of some help:
    UDP vs TCP, what is best for Microsoft Teams Voice?
    (Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.)


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Holger Bunkradt 16 Reputation points
    2022-06-23T11:31:01.153+00:00

    Hi HistoricalSwimming

    I all my Teams voice projects Teams use TCP if the media could not use UDP blocked by Firewall or not correct configuration on proxy to bypass.
    TCP will be used as fallback if UDP fails.

    1 person found this answer helpful.
    0 comments No comments

  2. Kemboi 1 Reputation point
    2022-06-23T11:45:33.457+00:00

    TCP are used on process to process communication using the port number. It then transmits the data as a stream of bytes from source to destination.
    It groups the data from one an application to packets called segments then add a header that contains the destination address .