You can't connect to Lync Online, or certain features don't work, because an on-premises firewall blocks the connection

Article translations Article translations
Article ID: 2409256 - View products that this article applies to.
Expand all | Collapse all

PROBLEM

You experience one or more of the following symptoms in Lync Online:
  • You can't connect to Lync Online.
  • The following features don't work in Lync Online:
    • Presence updates, and this includes contact pictures
    • Outlook integration
    • File transfers
    • Audio and video

SOLUTION

To resolve this issue, configure an exception for Office 365 URLs and applications from the proxy or firewall.

To resolve this issue for Internet Security and Acceleration (ISA) Server 2006, create an allow rule. The allow rule should meet the following criteria. These criteria are highly recommended:
  • Allow outgoing connections to the following destination: *.microsoftonline.com
  • Allow outgoing connections to the following destination: *.microsoftonline-p.com
  • Allow outgoing connections to the following destination: *.onmicrosoft.com
  • Allow outgoing connections to the following destination: *.sharepoint.com
  • Allow outgoing connections to the following destination: *.outlook.com
  • Allow outgoing connections to the following destination: *.lync.com
  • Allow outgoing connections to the following destination: *.verisign.com
  • Allow outgoing connections to the following destination: *.verisign.net
  • Allow outgoing connections to the following destination: *.public-trust.com
  • Allow outgoing connections to the following destination: sa.symcb.com

    Note This is the certification revocation library for microsoftonline.com.
  • Protocols TCP and HTTPS
  • Rule must apply to all users
  • HTTPS/SSL time-out set to 8 hours
Take the following actions:
  • Review the following Office 365 blog post:

    Set up your network for Lync Online
  • Exclude the IP address ranges used by Lync Online and other Office 365 services, especially the IP ranges for Office 365 portal and identity. If you're using Exchange Online, make sure that you exclude outgoing IP addresses for Exchange Online.
    Office 365 URLs and IP address ranges
  • Use the Office 365 Custom Domain Name Settings Test for Lync Online:
    Lync Remote Connectivity Analyzer
  • See the following article in the Microsoft Knowledge Base to create an exception in your firewall for the Microsoft Azure AD authentication system:
    2769142 Lync 2013 or Lync 2010 can't connect to the Lync Online service because a proxy is blocking connections from MSOIDSVC.exe
Additionally, the following ports must be open in the external firewall.
Collapse this tableExpand this table
PurposeSource IPDestination IPSource PortDestination Port
Session Initiation Protocol (SIP) SignalingClientOffice 365Ephemeral ports TCP443 TCP
Persistent Shared Object Model (PSOM) Web ConferencingClientOffice 365Ephemeral ports TCP443 TCP
HTTPS downloadsClientOffice 365Ephemeral ports TCP443 TCP
AudioClientOffice 36550000 - 50019 UDP and TCP443 TCP, 3478 UDP, 50000 - 59999 UDP and TCP
VideoClientOffice 36550020 - 50039 UDP and TCP443 TCP, 3478 UDP, 50000 - 59999 UDP and TCP
Desktop SharingClientOffice 36550040 - 50059 UDP and TCP443 TCP, 50000 - 59999 TCP
Lync Mobile push notifications for Lync Mobile 2010 on iOS and Windows Phone 7.5 devicesClientOffice 365Ephemeral ports TCP5223 TCP

Note Office 365 Lync Online Edge Servers listen on the whole range of TCP and UDP ports 50000 - 59999 for Lync client audio, video, and Desktop Sharing sessions. Network traces will show client source ports in the 50000 - 50059 range connecting to destination ports on the Lync Online Edge Servers in the 50000 - 59999 range.

For more information about how to configure ISA 2006 firewall rules, go to the following Microsoft TechNet website:

Configuring ISA Server 2006 Firewall Rules

MORE INFORMATION

This issue occurs if an on-premises firewall blocks the communication flow.

Still need help? Go to the Office 365 Community website.

Properties

Article ID: 2409256 - Last Review: October 22, 2014 - Revision: 63.0
Applies to
  • Microsoft Lync Online
Keywords: 
o365 o365a o365e o365022013 o365m o365p KB2409256

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com