Tutorial / Cram Notes

Core Services and Scenarios

For Microsoft Teams to operate correctly, the following outbound ports and protocols must be allowed through your firewall for the associated services and scenarios:

  • TCP 80 & 443: These ports are used for all secure web traffic (HTTPS) and should be open for outbound communication to the internet for Teams to connect to the Microsoft servers for various services including chat, video, and voice communication.
  • UDP 3478 through 3481: These ports are essential for media traffic via Secure Real-time Transport Protocol (SRTP) used for video, voice, and meetings. These ports facilitate better quality of service and a more reliable connection.

Quality of Service (QoS)

For QoS, the following ports are commonly designated for different types of traffic and should be prioritized accordingly:

  • Audio: UDP 50,000-50,019
  • Video: UDP 50,020-50,039
  • Application/Screen Sharing: UDP 50,040-50,059

QoS tagging helps in managing bandwidth and ensuring that audio and video streams maintain high quality by prioritizing these packets on the network.

Federated and External Communications

When dealing with federated and external communications, Teams uses:

  • TCP 5223: This port is used for outbound communication to enable push notifications for Teams mobile clients.

Additional Considerations

Please note that while Microsoft Teams is highly dependent on these outbound ports, there are additional services like Office 365 URLs and IP address ranges that should also be considered when configuring network settings.

Examples

Here’s an example of how to consider these requirements:

A company sets up a new Teams environment. The IT administrator configures the corporate firewall rules to allow the necessary outbound ports. She prioritizes traffic by setting up QoS policies in the network hardware to recognize and prioritize the UDP ports associated with Teams calls and meetings.

Summary Table of Requirements

Service Type Protocol Port Range Description
Web Traffic TCP 80, 443 General HTTPS traffic for Teams services
Real-time Media UDP 3478-3481 Audio, video, and meeting traffic
Audio (QoS) UDP 50,000-50,019 Prioritized audio packets for better quality
Video (QoS) UDP 50,020-50,039 Prioritized video packets for better quality
Application Sharing UDP 50,040-50,059 Prioritized application/screen sharing traffic
Mobile Push Notifications TCP 5223 Push notifications for Teams mobile clients

In conclusion, properly configuring these outbound network ports and protocols ensures that Microsoft Teams runs effectively and provides users with a seamless experience. Network administrators should ensure these requirements are met and frequently reviewed as part of their Teams deployment and management strategy, in line with best practices and the objectives of the MS-700 exam.

Practice Test with Explanation

True or False: Microsoft Teams only requires TCP protocols for its operation.

  • False

Microsoft Teams requires both TCP and UDP protocols for its operation. UDP is particularly important for audio and video scenarios, where it ensures a smoother streaming experience.

For Microsoft Teams, all media traffic is optimized if you open outbound port 3478 to the internet. Is this statement True or False?

  • True

Port 3478 is used for Transport Relay with Office 365 and is necessary for media traffic optimization in Microsoft Teams.

Microsoft Teams requires which of the following ports to be open for a proper functioning? (Multiple select)

  • A) 80
  • B) 443
  • C) 25
  • D) 5061

Answer: A) 80, B) 443

Microsoft Teams requires ports 80 and 443 for HTTP and HTTPS traffic, respectively. SMTP port 25 is not required for Teams, and while port 5061 is used in SIP communications, it’s not a requirement for Teams.

Secure Real-Time Transport Protocol (SRTP) requires which of the following ports to be open for Microsoft Teams? (Single select)

  • A) 50-59
  • B) 3478-3481
  • C) 50000-50019
  • D) 50000-52000

Answer: D) 50000-52000

For SRTP, Microsoft Teams mainly suggests utilizing the dynamic port range of 50000-52000 UDP for the best performance.

True or False: Microsoft Teams requires outbound port 25 to be open for email notifications.

  • False

Port 25 is commonly used for SMTP (email sending), but it isn’t a requirement for Microsoft Teams, which focuses on instant messaging, online meetings, and calling.

Which protocol and port are used by Microsoft Teams for signaling? (Single select)

  • A) TCP 5061
  • B) UDP 3478
  • C) TCP 443
  • D) UDP 5060

Answer: C) TCP 443

Microsoft Teams uses TCP port 443 for signaling communication within the application.

To enable QoS (Quality of Service) in Microsoft Teams, network administrators should prioritize which types of traffic? (Multiple select)

  • A) Video
  • B) Audio
  • C) Sharing
  • D) VPN

Answer: A) Video, B) Audio, C) Sharing

Network administrators should prioritize video, audio, and sharing traffic for QoS in Teams, ensuring an optimal user experience. VPN traffic isn’t specific to Teams and isn’t typically prioritized for QoS.

True or False: Microsoft Teams outbound traffic is exclusively on high-numbered ports (49152-65535 range).

  • False

While Teams does utilize the high-numbered ports, it’s not exclusive to them. It also uses other ports like 80, 443, and the 50,000-52,000 range for various types of traffic.

Microsoft Teams media traffic utilizes which of these ranges for outbound UDP traffic? (Single select)

  • A) 1024-65535
  • B) 32800-33500
  • C) 50000-50019
  • D) 50000-52000

Answer: D) 50000-52000

The recommended port range for media traffic in Teams for UDP is 50000 to

True or False: It is recommended to create outbound allow rules in your firewall specifically for Microsoft Office 365 URLs and IP address ranges.

  • True

Creating allow rules helps ensure that traffic to Microsoft Office 365 services, which include Microsoft Teams, isn’t blocked by the firewall, thus improving connectivity and reliability.

To improve the quality of real-time media, which outbound ports and protocols should be allocated with the highest priority? (Multiple select)

  • A) UDP 3478-3481
  • B) TCP 80
  • C) UDP 50000-52000
  • D) TCP 443

Answer: A) UDP 3478-3481, C) UDP 50000-52000

The ports UDP 3478-3481 and UDP 50000-52000 should be allocated with the highest priority in network QoS for real-time media, such as video and audio calls in Microsoft Teams.

True or False: Microsoft Teams does not require any specific outbound ports to be open for its desktop and web clients.

  • False

Microsoft Teams requires specific outbound ports to be open, such as port 443 for HTTPS and other ports for media optimization, to fully function using both desktop and web clients.

Interview Questions

What is the URL for Skype for Business Online and Microsoft Teams?

The URL for Skype for Business Online and Microsoft Teams is https//login.microsoftonline.com.

What are the IP address ranges for Skype for Business Online and Microsoft Teams?

The IP address ranges for Skype for Business Online and Microsoft Teams are listed on the Microsoft documentation page at https//docs.microsoft.com/en-us/office365/enterprise/urls-and-ip-address-ranges#skype-for-business-online-and-microsoft-teams.

How can I allow Skype for Business Online and Microsoft Teams traffic through my firewall?

You can allow Skype for Business Online and Microsoft Teams traffic through your firewall by allowing the IP address ranges and URLs listed on the Microsoft documentation page at https//docs.microsoft.com/en-us/office365/enterprise/urls-and-ip-address-ranges#skype-for-business-online-and-microsoft-teams.

What are the network ports that Microsoft Teams uses?

Microsoft Teams uses a variety of network ports, including TCP ports 80 and 443, and UDP ports 3478 through 3481.

How can I optimize network quality for Microsoft Teams?

You can optimize network quality for Microsoft Teams by following the guidelines provided on the Microsoft documentation page at https//docs.microsoft.com/en-us/microsoftteams/qos-in-teams.

What is QoS in Microsoft Teams?

QoS (Quality of Service) in Microsoft Teams is a feature that helps to ensure high-quality audio and video calls by prioritizing network traffic.

What are the requirements for QoS in Microsoft Teams?

To use QoS in Microsoft Teams, you need to have a network infrastructure that supports QoS and you need to configure the QoS settings on your network devices.

What QoS settings should I use for Microsoft Teams?

The recommended QoS settings for Microsoft Teams are listed on the Microsoft documentation page at https//docs.microsoft.com/en-us/microsoftteams/qos-in-teams.

How can I test my network for Microsoft Teams performance?

You can test your network for Microsoft Teams performance by using the Network Assessment Tool, which is available for download on the Microsoft documentation page at https//docs.microsoft.com/en-us/microsoftteams/network-planner.

What is the Microsoft Teams Network Planner?

The Microsoft Teams Network Planner is a tool that helps you to plan your network infrastructure for optimal Microsoft Teams performance. It is available for download on the Microsoft documentation page at https//docs.microsoft.com/en-us/microsoftteams/network-planner.

How can I troubleshoot network issues with Microsoft Teams?

You can troubleshoot network issues with Microsoft Teams by using the troubleshooting tools and techniques provided on the Microsoft documentation page at https//docs.microsoft.com/en-us/microsoftteams/troubleshoot-network-connectivity.

What is the recommended network bandwidth for Microsoft Teams?

The recommended network bandwidth for Microsoft Teams is listed on the Microsoft documentation page at https//docs.microsoft.com/en-us/microsoftteams/prepare-network.

What are the minimum network requirements for Microsoft Teams?

The minimum network requirements for Microsoft Teams are listed on the Microsoft documentation page at https//docs.microsoft.com/en-us/microsoftteams/prepare-network.

How can I monitor network performance for Microsoft Teams?

You can monitor network performance for Microsoft Teams by using the network monitoring and analytics features provided by your network infrastructure, or by using third-party network monitoring tools.

What is the Microsoft Teams Real-Time Media (RTM) Protocol?

The Microsoft Teams Real-Time Media (RTM) Protocol is a proprietary protocol used by Microsoft Teams for real-time audio and video communications. It is designed to provide high-quality audio and video with low latency and network congestion.

0 0 votes
Article Rating
Subscribe
Notify of
guest
13 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Elias Laitinen
6 months ago

Can anyone confirm the outbound network ports required for Microsoft Teams?

Toivo Wirta
2 years ago

Is it necessary to allow TCP 80 for Microsoft Teams?

Sebastián Carmona
1 year ago

Thanks for this information!

Derek Pierce
1 year ago

Do we need to consider any specific protocols for mobile clients?

Halil Merker
1 year ago

Appreciate the detailed information!

Helenice Farias
1 year ago

Do we need to configure outbound proxy settings for Teams?

Terra Klinkers
1 year ago

Just to clarify, is UDP 3478-3481 used for all media types in Teams?

Noah Sørensen
1 year ago

What happens if the outbound ports are blocked by a firewall?

13
0
Would love your thoughts, please comment.x
()
x